Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Question on alwaysontop=.t. modal form
Message
From
07/10/2003 11:52:52
 
 
To
04/10/2003 17:26:29
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00835164
Message ID:
00835815
Views:
12
Hi Vim.

is there a way i can prevent them from doing that without having to make form2 large enough that it covers form1? using vfp 8.0.

As Sergey has already mentioned, a top level form cannot be modal. However, you do not want to set any of your forms AlwaysOnTop property to true. Instead, use code like this in your base form class activate:
IF This.WindowType = 1 &&Modal
  This.AlwaysOnTop = .T.
  This.AlwaysOnTop = .F.
ENDIF
Previous
Reply
Map
View

Click here to load this message in the networking platform