Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
NewObject Problem
Message
De
18/04/2001 17:23:18
 
 
À
18/04/2001 17:12:21
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00497015
Message ID:
00497024
Vues:
12
>Hi,
>
>Problem with NewObject(). Simple example to reproduce below:
>
>'myclass' is a form class in mylib.vcx. It has init code
lparameters tcName
>wait wind tcName
>
>I call
NewObject('myclass','mylib',.null., cMyParm)
>
>problem - the init is NOT receiving the parameter cMyParm - it just get .F. Interstingly - if I take out the init code, I get a "no parameter statement is found" error.
>
>ideas?
>
>TIA

More Info - the problem does not appear if "myclass" is a container or custom object ... only if it is a form ... sigh ...
Ken B. Matson
GCom2 Solutions
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform