main logo
Subject: RE: VFP7: Reassign a class to another one
Author: "Jim Winter"
Posted: 2006/06/30 09:26:34
 
View Entire Thread
New Search


> I have a textbox class and I want to reassign the class programmatically
> to another textbox class. Any ideas? TIA!
>
> David L. Crooks
>

Oops - sorry, I missed the programmatically part.

Something like:

USE <ClassLib>.vcx
LOCATE FOR <Class> $ Class
IF FOUND()
REPLACE Parent WITH '<NewParentClass>
COMPILE CLASSLIB <ClassLib>.vcx
ENDIF

Regards,
Jim







 
©2006 Jim Winter
<-- Prior Message New Search Next Message -->