Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Form return value
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00568395
Message ID:
00568542
Vues:
13
>>>>After I put the code in the unload I still had problems.
>>>>
>>>>I had to change to put the value in a variable via the control
>>>>"click" method then return the variable. I assume the control
>>>>was already destroyed by the time the unload fired.
>>>
>>>As I suggested in my previous message, add a proprty ReturnValue to your form, assign return value to it in the Click of the control and than return it in Unload
>* Click Event
>>>Thisform.AddProperty("ReturnValue", thisform.oleCalendar.value )
>>
>>I don't see where you suggested that in your previous message but I
>>agree that is a good idea. Thanks for your help!
>
>It's at the end of the message.
>
>< snip >
>
>>>>>>All I get is T returned. What am I doing wrong?
>>>>>
>>>>>You have to use Unload event return statement to return value from modal form. You can save return value to the form's property in cmdSelect.click and use later in Unload.

Ahhh... OK... I just didn't read it as you intended it. My mistake.
Thanks!
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform