?

Activate Screen

By default, output from many commands goes to the active window. ACTIVATE SCREEN lets you direct it to the main Visual FoxPro window instead.

Usage

ACTIVATE SCREEN
When a user-defined window (including one containing a form) is active, issuing a command like DISPLAY MEMORY or ? sends the output to the window. That's not usually what you want. It sure isn't when we do it. Issue ACTIVATE SCREEN before the DISPLAY whatever or ?, and the output goes to the main window instead.

Example

DEFINE WINDOW Test AT 0,0 SIZE 10,100 ACTIVATE WINDOW Test * Now all output goes to window Test - prove it DISPLAY MEMORY * That's no good - try again ACTIVATE SCREEN DISPLAY MEMORY      && much better RELEASE WINDOW Test && clean up

See Also

Activate Window, _Screen


View Updates

Copyright © 2002 by Tamar E. Granor, Ted Roche, Doug Hennig, and Della Martin. All Rights Reserved.



Hacker's Guide to Visual FoxPro 7. 0
Hackers Guide to Visual FoxPro 7.0
ISBN: 1930919220
EAN: 2147483647
Year: 2001
Pages: 899

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net