How To Hide the Command Window in FoxProID: Q105003 2.50 2.50a | 2.00 2.50 2.50a WINDOWS | MS-DOS kbprg The information in this article applies to:
A programmer using Microsoft FoxPro may find it necessary to hide the Command window from within the executing program in order to restrict the end user from gaining access to core routines, or to the program itself. The Command window may also be hidden in order to make the programmer's menu the only thing visible to the end user. To hide the Command window: 1. Define a window to hold the Command window. 2. Activate the Command window inside the small window. NOTE: Do not activate the small window. For example: DEFINE WINDOW hide FROM 1,1 to 3,3 ACTIVATE WINDOW command IN hide Because window "hide" does not get activated, the Command window inside "hide" will not be visible. NOTE: In FoxPro for MS-DOS, the following command will bring the command window back once it is hidden: ON KEY LABEL {key label} ACTIVATE WINDOW COMMAND IN SCREEN When the key label is selected, the Command window will be activated in the screen. Additional reference words: FoxDos FoxWin 2.00 2.50 2.50a KBCategory: kbprg KBSubcategory: FxprgGeneral Keywords : FxprgGeneral Version : 2.50 2.50a | 2.00 2.50 2.50a Platform : MS-DOS WINDOWS |
Last Reviewed: January 10, 1997 |