Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Form calls a modal form
Message
From
16/08/2006 03:35:58
 
 
To
15/08/2006 12:36:26
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01145631
Message ID:
01145901
Views:
29
Hi,

Calling a method in the main form is no different to calling any external function - execution will return to the calling code - and the .Release will not occur until the modal method itself completes. Try using .Hide ...

HTH,
Viv

>I have a main form with a toolbar. One of its buttons will open a modal form. The modal form will call main form's method when a user clicks on Ok button and send its reference to it. The called method of the main form releases the modal form right away and then does some processing.
>Why I can see the modal form while the method does the processing, why it does not disappear right away since it's released in the first line of code?
>
>Thanks
Previous
Reply
Map
View

Click here to load this message in the networking platform