Hi, I have a usercontrol which once placed on a form should display the total no. of controls the form it was placed on has. How to count those controls. Plz help....
Printable View
Hi, I have a usercontrol which once placed on a form should display the total no. of controls the form it was placed on has. How to count those controls. Plz help....
UserControl.Parent.Controls.Count.
The Parent property contains a reference to the Form.
Thanx brucevde:D