Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

help - window docking "lock" on VFP9 1

Status
Not open for further replies.

jebo100

Technical User
May 11, 2007
52
PH
Hi All!!!

i usually stack(docked) my properties, data session and command window at the right side of my screen while working.

is there a way to lock these windows?

the reason is, i always unintensionally closes these windows by pressing ctrl+w while working on ( for example a form)

i have to re-open the needed window again and re-arrange them everytime i did this.

thanks!!!




 
I had the same problem. I don't know of any way of locking the windows within the session. My solution was to write a little script file (a PRG) that opens all the windows and tab docks them programmatically. I can run that from the command window or tie it to a function key.

Mike


__________________________________
Mike Lewis (Edinburgh, Scotland)

My Visual FoxPro site: www.ml-consult.co.uk
 
I don't know of any way to lock the windows either, however to re-open them I use code too:

Code:
*** Re-open docked windows
ACTIVATE WINDOW view        && DataSession
ACTIVATE WINDOW properties  && Properties
ACTIVATE WINDOW document    && Doc View
ACTIVATE WINDOW command     && Command

The windows stack in the order defined so the above code leave the Command window on top, then Doc, then Properties and Session.

----
Andy Kramek
Visual FoxPro MVP
 
thanks for the help friends!!!
that really helped a lot
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top