Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Disabling _SCREEN
Message
De
17/01/2003 06:02:35
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
17/01/2003 05:40:23
Lee Hockley
Sherwood International
London, Royaume Uni
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00742462
Message ID:
00742795
Vues:
18
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform