Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to return a value from a form?
Message
De
29/11/2003 04:11:20
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
28/11/2003 14:07:37
Mike Sue-Ping
Cambridge, Ontario, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00854035
Message ID:
00854400
Vues:
22
Oh I forgot to mention that. Enter this in Form.QueryUnload :

nodefault
this.hide()

Cetin

>Hi Cetin,
>
>I've used you code below and it works well except for the case when I close the modal form using the "X" button in the upper right corner of the window. When I do this, oFrm is somehow set to .null. and I can't get to any of its properties.
>
>Any idea why this is so?
>
>Regards,
>
>Mike
>
>>
>>oFrm = createobject('myForm')
>>oFrm.Show(1) && I might want to use a modeless as modal
>>ldStart = oFrm.txtStartDate.Value && Code continues here when form.hide()s
>>oFrm.release()
>>release oFrm
>>
>>do form myForm name oFrm linked && Call a modal form
>>ldStart = oFrm.txtStartDate.Value && Code continues here when form.hide()s
>>oFrm.release()
>>release oFrm
>>
>>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