Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How can I create a new VCX of subclasses programatically
Message
De
01/10/1998 16:25:56
 
 
À
01/10/1998 15:58:02
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00142974
Message ID:
00143004
Vues:
26
Fred ----
*** SUBCLASS.PRG
LPARMS cOldClass,cOldClassLib,cNewClass,cNewClassLib
CREATE CLASS &NewClass OF &cNewClassLib AS &cOldClass FROM &cOldClassLib NOWAIT
RETURN
From the Command Window, type =Subclass("oldclass","oldlib","newclass","newlib")
The NOWAIT option on create class will work in code.









>Hi All!
>
>I'm looking for a way to create a new .VCX library of classes subclassed from another .VCX programatically. I've looked at CREATE CLASS but it brings up the ClassDesigner. Is there any way to do this without the ClassDesigner being shown?
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform