Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Hide and Unhide Command window
Message
General information
Forum:
Visual FoxPro
Category:
Project manager
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
01050280
Message ID:
01050319
Views:
12
Went to TOOLS->OPTIONS->FILE LOCATIONS->STARTUP and changed the file to startup_custom.prg. But each time that I startup VFP the STARTUP file is back to taskpane.app.

Brenda


>Brenda,
>
>I have this code (among other things) in an aSetup.prg that gets run on startup of VFP:
>
>ON KEY LABEL F9 DO DockWindows IN aSetup
>
>PROCEDURE DockWindows
>	*JCJB*	Activate the Tool windows to make sure they exist.
>	ACTIVATE WINDOW View
>	ACTIVATE WINDOW Properties
>	ACTIVATE WINDOW Document
>
>	*JCJB*	Dock the Data Set window on the Right.
>	DOCK WINDOW View POSITION 2
>
>	*JCJB*	Dock the Property Sheet and Document View as tabs in the Data Set window.
>	DOCK WINDOW Properties POSITION 4 WINDOW View
>	DOCK WINDOW Document POSITION 4 WINDOW View
>ENDPROC
>
>This docks the Data Session window, Properties sheet, and Documnet View window together tabbed and docked on the right of my screen. I keep my command window docked on the bottom. Then, if I want to hide the group, I simply click the X in the upper right hand corner of the dock window group. When I want it back, I simply press F9. You could modify the above slightly such as:
>
>ON KEY LABEL F9 DO DockWindows IN aSetup
>
>PROCEDURE DockWindows
>	*JCJB*	Activate the Tool windows to make sure they exist.
>	ACTIVATE WINDOW View
>	ACTIVATE WINDOW Properties
>	ACTIVATE WINDOW Document
>	ACTIVATE WINDOW Command
>
>	*JCJB*	Dock the Data Set window on the Bottom.
>	DOCK WINDOW View POSITION 3
>
>	*JCJB*	Dock the Property Sheet, Document View, and Command Window as tabs in the Data Set window.
>	DOCK WINDOW Properties POSITION 4 WINDOW View
>	DOCK WINDOW Document POSITION 4 WINDOW View
>	DOCK WINDOW Command POSITION 4 WINDOW View
>ENDPROC
>
>HTH,
>Chad
>
>
>>After I have my command window, data session, and properties docked together - how can i quickly hide them and then unhide them so that they are still docked together?
>>
>>Also, if I could dock the FIND window also, that would free up lots of space. I am always doing FINDs.
>>
>>Brenda
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform