Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Parameters
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Miscellaneous
Thread ID:
00630710
Message ID:
00630997
Views:
24
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)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform