Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Modeless forms
Message
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00248590
Message ID:
00248600
Views:
15
>No we are issuing a do form xx name xx linked
>
>This app before was a modal app we are trying to change it to modeless by the users request.
>
>Shawn
>TIA

If the DO FORM is being called from a method, as soon as the method code has finished running, the name xx, which is a local or private variable, goes out of scope. So, the reference xx no longer exists so the form is released.

I would just have DO FORM MYFORM and leave off the rest. If you must have a name for referencing, you have to declare the name as a public variable. There are other ways of doing this but are quite a bit more involved.
Mark McCasland
Midlothian, TX USA
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform