Controls collection of Component

  • Thread starter Thread starter Shloma Baum
  • Start date Start date
S

Shloma Baum

Hi,

I would like to ask if there is something similer (even in a diffrent way)
to loop all controls on a component in the same way there is on a
form.controls collection?

Thanks in advance
Shloma Baum
 
Hi Shloma,
I'm not sure, what you mean by "component". You can generally loop
through any collection. E.g.: Controls property returns a collection of
controls, contained in that control. Since Form is a control, it also
includes Controls property.

Andrej
 
Back
Top