Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Stacking Properties, Data Session, and Document View
Message
From
30/08/2005 09:24:15
 
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:
01045123
Views:
24
Perfect Chad, thanks!


>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
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform