Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Allow only one instance of Usercontrol by Form

Status
Not open for further replies.

Mat

Programmer
Jun 6, 1999
8
CA
Hi to all<br>
<br>
I created a Usercontrol who Handle the TitleBar Font and color and I want to restrict each form to contain only one instance of the control.<br>
<br>
I can determine the number of instance on a form by the InitProperties Event, at that stage the control is already created so how to Terminate creation of control or destroy it?<br>
<br>
Thanks for your help.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top