Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Directing output to Main VFP Window
Message
From
11/10/2000 00:06:16
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00427599
Message ID:
00427696
Views:
18
>If I "suspend" a running form and want to display some information in the Main VFP Window, what command do I use to get the display
>(i.e. ? X) to print in the Main window rather than on the form itself?
>I then want to go back and continue running the form. Do I need to change any setting at that point?

Try:

LOCAL cFormRef
cFormRef = WONTOP()
ACTIVATE SCREEN
* print stuff on main display
ACTIVATE WINDOW (cFormRef)

You may not need to save WONTOP(); in interactive mode, it remains the same returning to the command window, but this works.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform