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

Custom TextBox in Custom Grid Class?

Status
Not open for further replies.

foxrainer

Programmer
Jan 10, 2002
270
US
Is it possible to specify a custom Text Box class to be used as the default in a custom Grid Class?

i.e.:

Custom class IT_Grid
Custom Class IT_GridTextBox

How can I change IT_Grid to use IT_GridTextBox by default?

Thank you in advance

Rainer
 
foxrainer

Add you custom textbox class to the grid's column and chage the currentcontrol of the column to your custom textbox class.

Mike Gagnon

If you want to get the best response to a question, please check out FAQ184-2483 first.
 
You can also remove the default textbox by selecting it in the property sheet, then clicking on the grid and hitting the delete button.


-BP (Barbara Peisch)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top