Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Stacking Properties, Data Session, and Document View
Message
 
To
30/08/2005 08:51:48
General information
Forum:
Visual FoxPro
Category:
Installation, Setup and Configuration
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01045104
Message ID:
01045107
Views:
25
This message has been marked as the solution to the initial question of the thread.
Tracy,

I keep those three windows tabbed together and docked on the right side. Here's the code I use:
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
I'm sure you could use MOVE WINDOW instead of DOCK WINDOW in the middle section of code on the View window. I also have an OKL that calls this procedure and it's all in my config file. So, everything gets docked where I want it on startup and if things get closed or moved or undocked, I can simply press a function key to get them back the way they belong.

HTH,
Chad

>I stack the properties, data session, and document view window and drag them over to my 2nd monitor for easy access during development in VFP9. Sometimes, I close them out or they dissappear after exiting and restarting VFP9 and I have to restack all three manually again. Is there any way programmatically to do this? Then I could add an item to my custom menu to run it when necessary.
>
>TIA
>Tracy
_________________________________
There are 2 types of people in the world:
    Those who need closure
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform