Controls collection of Component

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
 
A

Andrej Tozon

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top