Sep 1, 2003 #1 cjulio Programmer Joined Aug 14, 2002 Messages 114 Location PT Helo i whant to change the class off an object to another class without deleting the object. Is this possible?????
Helo i whant to change the class off an object to another class without deleting the object. Is this possible?????
Sep 1, 2003 #2 Mike Gagnon Programmer Joined Apr 6, 2002 Messages 8,067 Location CA 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. Upvote 0 Downvote
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.
Sep 1, 2003 #3 Mike Gagnon Programmer Joined Apr 6, 2002 Messages 8,067 Location CA 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. Upvote 0 Downvote
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.
Sep 1, 2003 Thread starter #4 cjulio Programmer Joined Aug 14, 2002 Messages 114 Location PT thanks... it works... Upvote 0 Downvote