>I have created a UserControl that Inherits System.Windows.Forms.TextBox, how can I get the Text property of the instance pasted on the user form initially set to 0 ?
I found it! I need to override createhandle and set the properties there.
Protected Overrides Sub CreateHandle()
Me.Text = "0"
MyBase.CreateHandle()
End Sub
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc.
http://www.emoreau.com