I have:
THISFORM.WINDOWTYPE = 0
in my init of the form. Before I changed my design, I was changing it to 1. So it's definitely not read only. I use it by passing a parameter to the form to tell whether I want it modeless or not. I can't guarrantee it will work later as I've only done it in the init, but I know it works there.
-Michelle
>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
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