General information
Title:
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
Next
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