Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Release form and return a value
Message
From
07/11/2000 03:36:03
 
 
To
07/11/2000 03:03:50
F. Bennett Swenson
Sundance Aerial Photography
Hurst, Texas, United States
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00438686
Message ID:
00438690
Views:
11
The problem is that the controls get destroyed before the unload. You need to save ThisForm.doWhat.value to a Form property, then return this property in the Form's unload.

Hope this helps.

<
I have a modal form with a label (message place), a single command
group (named "dowhat") which has three buttons.

I want to release the form and return the value of the command group (named "dowhat") back to the calling prg.

If I use "thisform.release" in the click event of the command group,
"dowhat" apparently gets destroyed and
the unload event of the form does not like "RETURN thisform.dowhat.value".

This is where the book tells me to put this stuff.

Do I ahve a syntax error?

ideas?>>
Daniel
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform