Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Parameters
Message
 
À
10/03/2002 10:38:20
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
Divers
Thread ID:
00630710
Message ID:
00630997
Vues:
23
Mark,
Here's how I have done that;
*!* Framework method mRunClass:
LPARAMETERS tlClassName, tcLibName, tcExtraParms
....
IF EMPTY(tcExtraParms)
   This.poForm = NEWOBJECT(tlClassName, tcLibName)
ELSE
   This.poForm = NEWOBJECT(tlClassName, tcLibName, &tcExtraParms)
ENDIF
and a sample call;
lcParms = ["abc",123,.T.,{^2002/03/03}]

mRunClass("MyClass","MyLib", lcParms)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform