S
Steve
I have a number of controls within a Panel. If I do
For Each ctrl In PanelMain.Controls
MsgBox(ctrl.Name)
Next
The controls are not displayed in the sequence I would expect them to
be (top left to bottom right). The TabIndex properties are properly
set for my expected sequence, but they actually get references in the
reverse order. Is there any rhyme or reason behind how For Each works
and/or how can I get my For Each to go in the sequence I need? Ideas?
TIA... Steve
For Each ctrl In PanelMain.Controls
MsgBox(ctrl.Name)
Next
The controls are not displayed in the sequence I would expect them to
be (top left to bottom right). The TabIndex properties are properly
set for my expected sequence, but they actually get references in the
reverse order. Is there any rhyme or reason behind how For Each works
and/or how can I get my For Each to go in the sequence I need? Ideas?
TIA... Steve
