Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is there a Maximum number of parameters for a form class
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00361410
Message ID:
00361427
Vues:
24
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform