get all controls collections

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi, is there a quick way to get ALL the controls within a form?
I mean ALL the controls include all those in a Panel too.
and even those within a few Panels.

basically i have a function to change the control's size and position, i
just want to pass the control in.

I use "For each ctr as control in MyControl"
but that only do me 1 Level of Panel, not those within it.

Any ideas? Thanks
 
Back
Top