Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Returning a value from a form in a class
Message
De
06/08/1998 11:35:30
 
 
À
06/08/1998 11:26:37
Jerry Tovar
Dana Corporation Dana It
Maumee, Ohio, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00124488
Message ID:
00124492
Vues:
14
>I created a model form that returns a value.
>
>When I do this;
>DO FORM myform TO x
>
>x contains the returned value.
>
>However, I then saved the form in a class library. How can I call the form class and have it return a value?
>
>When I do this;
>SET CLASSLIB TO myform.vcx ADDITIVE
>ox = CREATEOBJ("mymodelform")
>y = ox.SHOW()
>
>A logical true is always returned. How can I the correct value returned?
>
>Thanks,
>
>Jerryt

Only modal form can return a value. Other forms should work with properties.
Edward Pikman
Independent Consultant
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform