Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Returning values from modal form
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00333036
Message ID:
00333046
Vues:
13
>I seem to be missing something here.
>
>I have a param that is the calling fom passed to the modal one. I am trying to populate a property in that calling form
>
>Here is the code in the modal form. Caller is propery populated in the init as the reference to who activated this form.
>
>ThisForm.caller.lddate= ThisForm.Cntcalendar1.dcaldate
>
>When this dies in testing caller.value = 'test_form'
>
>Test_form has a property lddate.
>
>TIA
>
>__Stephen

Put a .Value property on the end of your statement:

ThisForm.caller.lddate= ThisForm.Cntcalendar1.dcaldate.Value

You might also need it to be .Object.Value if it's from an ActiveX calendar control.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform