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 Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Inheriting textbox and setting property values

Status
Not open for further replies.

kyledunn

Programmer
Jan 2, 2001
145
US
After creating a new class that inherits the System.Windows.Forms.TextBox, in the new class I would like to set the value of the default Name for the TextBox (other defaults as well) when a new instance is created by dragging the control from the Toolbox and dropping it on a Form. Any idea how to do this?

Kyle
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top