|
-
Oct 19th, 2008, 10:35 PM
#6
Thread Starter
Junior Member
Re: Problem with enumerating all the child controls
I wan it not only for my form, i wan it for any window which is currently active.
but the below mentioned statements can get the controls number only for the form.
EnumerateControls(controls, Me)
Me.ListBox1.Items.AddRange(controls.ToArray())
Me.ListBox1.DisplayMember = "Name"
Please help me out to get it for all the active windows.
Thanks in advance.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|