Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Command window gone after returning from program
Message
 
 
To
20/02/2007 13:10:49
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01197365
Message ID:
01197367
Views:
18
This message has been marked as the solution to the initial question of the thread.
>I've got a very simple program which I usually run as a utility from within a VFP session. There's an exe available for a user to run if I'm not available
>_VFP.Visible = .F.
>DO FORM get_fdr_num
>READ EVENTS
>
>In the form I have
>ShowWindow = 2 (As Top Level Form)
>WindowType = 0 (Modeless)
>Unload Event code = CLEAR EVENTS
>
>When I run the either the PRG or the EXE from the command window, everything runs fine with the exception that the command window is no longer on the screen when the program completes. It's active, just not visible. I know that I can put SHOW WINDOW COMMAND to make it visible again, but what has made it disappear?
>
>Thanks........Rich

How about
_VFP.Visible = .T.
after you've done?
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform