You can turn Docking off on the Command window. You do not need to wrap it. WDockable("COMMAND", .F.) OR Right click the title bar of the Command window and unselect Dockable
That works for the Document View, Properties and Data Session windows. Have fun! Tracy -----Original Message----- From: ProfoxTech [mailto:profoxtech-boun...@leafe.com] On Behalf Of Jeff Roberts Sent: Wednesday, December 29, 2021 2:54 PM To: profoxt...@leafe.com Subject: Re: ProTip: Still using the Project Manager? I was curious if the same thing could be done to the Command window so I took Tracy's code and replaced "MyProjectWindow" with "MyCommandWindow" and "Project Manager" with "Command". It did not seem to work as I wanted. Is the command window referenced by something other than "Command" or is it just a special window so it can't be manipulated the same way the "Project Manager" window can? On Wed, Dec 29, 2021 at 1:32 PM Tracy Pearson <tr...@powerchurch.com> wrote: > LOL > > It's fun to find a keyword that is in the product for backward > compatibility > that actually does something useful. > > > -----Original Message----- > From: ProfoxTech [mailto:profoxtech-boun...@leafe.com] On Behalf Of MB > Software Solutions, LLC > Sent: Wednesday, December 29, 2021 2:21 PM > To: profoxt...@leafe.com > Subject: Re: ProTip: Still using the Project Manager? > > "This just in....Visual FoxPro 9 support for *Mac Desktops*!" > > LOL! > > > On 12/28/2021 3:06 PM, Tracy Pearson wrote: > > If you are still using the Project Manager and are on a High DPI screen. > > When you move the window around it is not a very pleasant experience. > > > > This code will put the window in an outer window that does not have the > > border issue. > > > > DEFINE WINDOW MyProjectWIndow ; > > FROM 0,0 ; > > TO WROWS("Project Manager"),WCOLS("Project Manager") ; > > CLOSE FLOAT GROW ZOOM MINIMIZE NOMDI ; > > TITLE "Project Manager" ; > > FONT WFONT(1,"Project Manager"), WFONT(2, "Project Manager") > > SHOW WINDOW MyProjectWindow > > ACTIVATE WINDOW "Project Manager" IN MyProjectWindow > > MOVE WINDOW "Project Manager" TO 0,0 > > > > And if you want the Project Manager to live outside the VFP window, and > be > > available in the Windows Task Bar change the SHOW WINDOW command to this. > > > > SHOW WINDOW MyProjectWindow IN macdesktop > > > > If you do not need it in the Windows Task Bar, you could change the > DEFINE > > WINDOW line to include this. > > > > IN DESKTOP > > > > > > The project manager needs to be open before you run this. You could add a > > this before it. > > > > MODIFY PROJECT 'TheAwesomeProject' NOWAIT > > > > Do you sometimes maximize windows you don't mean to? Change ZOOM to > NOZOOM. > > > > Works in VFP 9 and VFP Advanced. > > > > OR > > > > You could use Doug Hennig's Project Explorer > > https://github.com/DougHennig/ProjectExplorer > > > > Happy Coding! > > Tracy > > > > > > _______________________________________________ > > Post Messages to:ProFox@leafe.com > > Subscription Maintenance:https://mail.leafe.com/mailman/listinfo/profox > > OT-free version of this > list:https://mail.leafe.com/mailman/listinfo/profoxtech > > Searchable Archive:https://leafe.com/archives > > This > message: > https://leafe.com/archives/byMID/009c01d7fc26$5bcdcdd0$13696970$@pow > erchurch.com > <https://leafe.com/archives/byMID/009c01d7fc26$5bcdcdd0$13696970$@powerchurc h.com> > > ** All postings, unless explicitly stated otherwise, are the opinions of > the author, and do not constitute legal or medical advice. This statement > is > added to the messages for those lawyers who are too stupid to see the > obvious. > > -- > Michael J. Babcock, MCP > Fox/VFP dev since 1997 > Developer of FabNet estimating software - mbsoftwaresolutions.com > > > --- StripMime Report -- processed MIME parts --- > multipart/alternative > text/plain (text body -- kept) > text/html > --- > [excessive quoting removed by server] _______________________________________________ Post Messages to: ProFox@leafe.com Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: https://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: https://leafe.com/archives This message: https://leafe.com/archives/byMID/00a401d7fcee$d01c71a0$705554e0$@powerchurch.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.