Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Non-modal form remains on top?
Message
De
12/09/2005 15:25:47
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
12/09/2005 14:22:14
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:
01048913
Vues:
18
James,
Sorry, I don't understand.
Cetin

>Cetin --
>
>No, what I'm doing is making these forms non-modal (they WERE non-modal). My test-form is non-modal -- isn't that why I can give my mainform (also non-modal) the focus?
>
>How can my main form have focus but not be completely visible? (I have not set the AlwaysOnTop property.)
>
>Thanks,
>
>Jim
>
>
>
>
>>>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