Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
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
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement