G
Greg Lesnie
In VB6 I made heavy use of control arrays
I see they have been 'deprecated' in vb.Net, with a questionable explanation
that they are no longer necessary!
Problem is I commonly associated several controls with the same index - eg a
Directory listbox, Label, Checkbox, Textbox etc
Now I see Control arrays belong to VB6 compatibility.
So how in a converted VB6 program can I extend the control arrays at design
time? or run-time for that matter?
I guess VB6 compatibility creates a run-time array of controls with related
type and names - am I right?
So do I need to create a Control object array at form load time, and replace
control references with array references? Is that how VB6 compatibility
does it?
How do other people handle control arrays in .Net
Thanks!
I see they have been 'deprecated' in vb.Net, with a questionable explanation
that they are no longer necessary!
Problem is I commonly associated several controls with the same index - eg a
Directory listbox, Label, Checkbox, Textbox etc
Now I see Control arrays belong to VB6 compatibility.
So how in a converted VB6 program can I extend the control arrays at design
time? or run-time for that matter?
I guess VB6 compatibility creates a run-time array of controls with related
type and names - am I right?
So do I need to create a Control object array at form load time, and replace
control references with array references? Is that how VB6 compatibility
does it?
How do other people handle control arrays in .Net
Thanks!