General information
Category:
Forms & Form designer
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only