Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Trouble with _vfp.Visible = .F.
Message
De
05/10/2006 09:52:18
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Divers
Thread ID:
01159667
Message ID:
01159677
Vues:
17
>I added a command line switch to hide the execution
>of the program(_vfp.Visible = .F.) but I got 2 problems:
>
>1. The Wait Window still display
> I could patch that the hard way with my own wait function
>
>2. The program will stay in memory after execution.
>I tried running with _vfp.Visible = .T. and it closed
>correctly. That was the only changed made.
>
>_vfp.Visible = .F. is in the first lines of the main .prg
>
>Any ideas?

Steve,
1) You could set window of wait to an off screen position.
2) You don't need visible=.f. in code (and actually not the recommend way). Instead have:
screen=off
in config.fpw

I don't know why visible = .t. cure it. I suspect a modal state but not sure.
PS: Are you sure in both cases you just start the exe and do not touch kb/mouse.
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