Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Creating a modal form object
Message
 
À
29/08/2000 07:09:25
Christian Cote
Les Logiciels Onoma Inc.
Longueuil, Québec, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00410089
Message ID:
00410165
Vues:
20
>I knew that ther was an easy way to accomplish the task. By the way, is there a manner to simulate the 'DO FORM MyForm TO MyValue'. I mean to return a value from the form with my 'of' form object ?

Christian,

Nope. You can, however, use a property of the modal form to store the value you are interested in. Then you could;
LOCAL loForm
loForm = CreateObject("YourFormClass")
loForm.Show(1)

* Let the form class call its Hide method when you are done with it.

lcLocalVariable = loForm.PropertyName

* Now lcLocalVariable contains the value your form placed in its property

* Now release the modal form from memory
loForm.Release()
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform