Link to home
Start Free TrialLog in
Avatar of SETP
SETP

asked on

Iteraing through controls

Hi

I would like to iterate through a bunch of Panel controls I have on a Windowes form in VB.NET 2003. How can I do this? I'm currently using the following code but it's giving me an error:

Dim oPanel As Panel

For Each oPanel In Me.Controls
     'Some code
Next

Thanks
ASKER CERTIFIED SOLUTION
Avatar of AlexFM
AlexFM

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