Link to home
Start Free TrialLog in
Avatar of Nothing99
Nothing99

asked on

For Each control in a frame

Hi!

It is possible to make a list of all the control in a frame...? Something like this:

Ex.: Dim ctr as control
     For each ctr in myFrame
        msgbox ctr.name
     Next

Thanks!
ASKER CERTIFIED SOLUTION
Avatar of RHuebner
RHuebner

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of hxqcy
hxqcy

RHuebner is all right
.. although "If Ctrl.Container Is MyFrame Then" is probably more efficient than comparing two strings.
Avatar of Nothing99

ASKER

Thanks!!