Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Returning from a modal form
Message
 
To
20/02/2001 16:26:58
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00477782
Message ID:
00477793
Views:
21
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.
Previous
Reply
Map
View

Click here to load this message in the networking platform