G
Guest
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 which just addresses the event issue!
Problem is I commonly associated several other controls with the same index
inside the event handler - eg a
Directory listbox, Label, Checkbox, Textbox Drivebox etc all associated with
identical index.
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 which just addresses the event issue!
Problem is I commonly associated several other controls with the same index
inside the event handler - eg a
Directory listbox, Label, Checkbox, Textbox Drivebox etc all associated with
identical index.
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!