ControlCollection sequence?
- From: "Steve" <steven.milz@xxxxxxxxxxxx>
- Date: 12 Dec 2005 06:41:28 -0800
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
.
- Follow-Ups:
- Re: ControlCollection sequence?
- From: Larry Lard
- Re: ControlCollection sequence?
- From: Herfried K. Wagner [MVP]
- Re: ControlCollection sequence?
- From: Armin Zingler
- Re: ControlCollection sequence?
- Prev by Date: Re: Capture and redirect TCP traffic
- Next by Date: Re: Dates and time zones
- Previous by thread: Dates and time zones
- Next by thread: Re: ControlCollection sequence?
- Index(es):
Relevant Pages
|