Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Returning from a modal form
Message
 
À
20/02/2001 16:26:58
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00477782
Message ID:
00477793
Vues:
20
You must have a return in the unload even on the form.
return my_dbf.this_id
Anything that is being returned from the unload event will end up in the variable from the do form statement.
do form my_form to my_value

>Hi. Here is what I am trying to do:
> Call a modal form that returns a value
>-- DO my_form TO my_value
> In the form is a grid, read-only. I want to click on a record in the grid (mouse) and have that record id returned.
> I tried the following code in the Click event of the grid
>-- my_value = my_dbf.this_id
>-- thisform.release
>
>Nothing happens when I click the mouse!


HTH,
- Erik Niese-Petersen

Crazy Dane in USA.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform