Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Close application when the main window x is clicked on
Message
 
 
À
04/08/2022 14:37:01
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01684781
Message ID:
01684795
Vues:
30
>>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform