Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Disabling _SCREEN
Message
From
17/01/2003 06:02:35
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
17/01/2003 05:40:23
Lee Hockley
Sherwood International
London, United Kingdom
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00742462
Message ID:
00742795
Views:
17
>I have found the property to specify the form to be top level.
>
>To add, the form has no code in the .Init method as the processing is executed via a .timer member object. But the problem is the form passes straight through without waiting for the timer to kick in or allow the user to press the cmdCancel button.
>
>I have the following settings:
>
>oForm.ShowWindow = 2
>oForm.WindowType = Modal (which looks like it is overrided by ShowWindow)
>_SCREEN.Visible = .f. (in the main.prg)
>SCREEN = OFF (in the config.fpw)
>
>And the form is intantiated using oForm.Show(1).

Lee,
When ShowWindow=2 form is modeless whatever the WindowType is or Show(1) used.
Modal windows need a parent window. You can use ShowWindow = 1 (in top level).
Also a litle tricky to code but you could create a modal state with multiple read events-clear events and directly use ShowWindow=2.
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
Reply
Map
View

Click here to load this message in the networking platform