Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Close application when the main window x is clicked on
Message
 
 
To
04/08/2022 14:37:01
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01684781
Message ID:
01684795
Views:
29
>>Actually it does not have to be. But I thought that anything called from the windows with the property ShowWindow - 2 Top, has to be modal. My mistake.
>
>I think it doesn't matter. A desktop window (or was it top window, outside _screen) is modeless, no matter how you .show() it or how's its modality defined in the scx/vcx. Well you can test this right away: when that, allegedly modal, window has focus, try to click the main window. If focus shifts, it was modeless.

I will try it. Thank you.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Previous
Reply
Map
View

Click here to load this message in the networking platform