Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Change a modal form to modeless at run time?
Message
From
16/12/1998 09:15:21
 
 
To
16/12/1998 07:37:43
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00167980
Message ID:
00168004
Views:
28
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
Map
View

Click here to load this message in the networking platform