Collection of Controls... what order does For Each follow?
It seems that when I loop through the controls on a form using For Each, that they are processed in the reverse order from which they were placed on the form. This seems to be the case even if I change the tab order manually.
Can anyone confirm this? Can one rely on this sequence always being the case?
Ciao,
Re: Collection of Controls... what order does For Each follow?
Quote:
Originally posted by Jim Brown
It seems that when I loop through the controls on a form using For Each, that they are processed in the reverse order from which they were placed on the form. This seems to be the case even if I change the tab order manually.
Can anyone confirm this? Can one rely on this sequence always being the case?
Ciao,
Hmmm I would agree that it appears to be in reverse order.
But as you know, you can never assume anything when writing release-edition software :rolleyes: