Information générale
Titre:
Change a modal form to modeless at run time?
Hi all,
In my application I'm showing 2 forms in the screen, both are modeless. Normally the user is allowed to switch from one form to another. But in some situations, I need to temporarily change the form from modeless to modal, then turn it back. I have no problem with the first step, in which I used something like:
ThisForm.hide()
ThisForm.show(1) && turn from modeless to modal
But when I tried to change it back to modeless, still using:
ThisForm.hide()
ThisForm.show(0) && hoped that I can turn from modal to modeless
I didn't get what I expected to. I can't change the value of the 'WindowType' property either, because it's read-only at run time. Anyone ever experienced a similar problem?
TIA Abe
Suivant
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