Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Desktop Windows on Top
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
01675146
Message ID:
01675147
Views:
96
Hi,

If you set Desktop = .T., then is equal to ShowWindow = 2 (As Top-Level Form).
Modal forms must set ShowWindow = 1 (In Top-Level Form).

MartinaJ

>I just ran into a peculiar problem with desktop windows:
>
>_SCREEN is visible, and all forms are ShowWindow = 0 (In Screen) and Desktop = .T.
>
>The forms can be moved around the desktop and outside of the _SCREEN area, and when I open a modal from another form, (the modal form is also a desktop window), this modal form shows and stays on top of the other form waiting for input. So far so good...
>
>But: When I click outside of the VFP _SCREEN area (for example on a second monitor), then I can click on the original calling desktop form, and this form then comes to the foreground, even though the other form is open modal. So I cannot do anything on that original form, which covers the modal form, and the only way to get back to the modal form is to minimize/maximize VFP or sometimes to click again outside and then back into the _SCREEN area.
>
>I tried to work with some timers, and to capture the activate even of the original form, but this does not get raised while the modal form is open, even though the titlebar somehow shows the form as being active. I hope someone has an idea to work around this issue.
"Navision is evil that needs to be erazed... to the ground"

Jabber: gorila@dione.zcu.cz
Jabber? Jabbim
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform