Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Non-modal form remains on top?
Message
De
12/09/2005 11:58:36
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
12/09/2005 11:47:42
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP1
Divers
Thread ID:
01048805
Message ID:
01048813
Vues:
22
>I have having my first go at using non-modal forms, instead of modal. I'm taking an existing application and modifying a couple of the forms that do not have data entry (actually, they just display a simple grid) to see how this works.
>
>All seems to be working well except for one thing that doesn't make sense: When I bring up one of these forms that I'm testing, and part of the main form is still visible in the background, I can click on the main form, giving it the focus, but the form I'm testing is still visible. Of course, I can move the form, or minimize it, but I expected it not to be visible.
>
>Clearly, I'm missing something. Perhaps the following settings are relevant?
_screen.visible=.F.
>mainform.showwindow=2
>mainform.desktop=.f.
>
>Thanks in advance

That's the intended behavior of non-modal forms.
PS: If you mean it covers your other form then check AlwaysOnTop property.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform