F

F


Find Controls in a Container

Here's an example of how to find all controls that are in a specific container, no matter how nested the containers might be (A frame in a PictureBox in a frame for example). This is handy for things like disabling or hiding all controls in a specific frame or PictureBox. The function returns controls it finds as members of a collection. All you do is loop through the collection and perform operations on the items. Very cool.

Back to Index

A B C D E F G h I j k L M N O P q R S T U V w x y z