Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Returning value from a form
Message
De
07/08/2007 11:30:37
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
07/08/2007 01:32:30
Vernon Chambers
New York City Transit
New York, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01246354
Message ID:
01246501
Vues:
45
>After thorough investigation and examining a form from the Samples folder, I learned the variable is created as a Property to the Form! So I created/added a property with a blank value (cMbrID) via the Form menu and problem solved!!!
>
>Question, can this be done via code?
>
>Thanks for your help. (couldn't go to sleep until I figured it out!!! .. *smile*)

thisform.addproperty( 'cMbrId' )

However keep in mind, returning a value from a modal form is generally unnecessary. The caller could directly read one or more values from that form (modal form is called with a name clause and instead of release, hidden with 'hide'). Check:

http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=1291572&SiteID=1

there you'd see sample code showing 2 techniques together.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform