Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Non-modal form remains on top?
Message
From
12/09/2005 11:58:36
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
12/09/2005 11:47:42
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP1
Miscellaneous
Thread ID:
01048805
Message ID:
01048813
Views:
23
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform