Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to return a value from a non-visual form?
Message
De
12/07/2001 21:28:42
 
 
À
12/07/2001 21:18:18
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00530047
Message ID:
00530054
Vues:
29
Hi all,

I can return a value to a variable from a form created visually as follows:
x = ''
do form frmModal to x
How can I get the return value of a form created programatically?
x=createobject('frmModal')
x.show()
* ??? How will I get a return value using this way

define class frmModal as form

  * modal = .t. 
  windowtype = 1  && correction

  procedure unload()
     return 'Hello world'
  endproc
enddefine
ramil
~~ learning to stand still
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform