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
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.