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

CHANGE BASE CLASS

Status
Not open for further replies.

cjulio

Programmer
Aug 14, 2002
114
PT
Helo i whant to change the class off an object to another class without deleting the object.

Is this possible?????
 
cjulio

Since a form is like a table.
Use your form like a table, locate the control you need to change the baseclass for an replace.
Code:
use form1.scx
locate for "Class" = "textbox"
replace baseclass with "mytextboxclass"

Mike Gagnon

If you want to get the best response to a question, please check out FAQ184-2483 first.
 
cjulio

Sorry, the above should read:

Code:
use form1.scx
locate for Class = "textbox"
replace baseclass with "mytextboxclass"


Mike Gagnon

If you want to get the best response to a question, please check out FAQ184-2483 first.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top