Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Trouble with _vfp.Visible = .F.
Message
From
05/10/2006 09:52:18
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01159667
Message ID:
01159677
Views:
16
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform