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:
00361418
Vues:
19
>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.
>
>Any ideas?
>
>TIA

Pass it a parameter object. That way, you can pull as many properties out of your parameter object as needed.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform