Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is there a Maximum number of parameters for a form class
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00361410
Message ID:
00361427
Views:
25
>I just took a utility form that I was working on and saved it as a class. It has 20 parameters defined in the init event. Now when I try to instantiate the object ala:
>
>SET CLASSLIB TO myclass
>oLookUp = CREATEOBJECT("cLookUpForm", parm1, parm2, ... parm20)
>
>I get a syntax error. If I call it like this:
>
>=CREATEOBJECT("cLookUpForm", parm1, parm2, ... parm20)
>
>I get an error stating too many parameters.
>
VFP help on Parameters states that 27 is the limit. Check to make sure you have 20 parameters defined in the LParameters clause of your form class.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform