|
-
Jul 25th, 2017, 05:41 PM
#26
Re: Visit Every Control on a Form (includes nested controls, no recursion)
 Originally Posted by coolcurrent4u
It doesnet work for toolstripmenu items or any non control
That was basically addressed in post #4, i.e. this code will visit controls that are in a Controls collection of a control that is itself in a Controls collection, etc, all the way up to the form. If there is a break in the control/Controls chain then I don't think that GetNextControl can access it.
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
|