ProTip: Still using the Project Manager?

Author: Tracy Pearson

Posted: 2021-12-28 at 14:06:10

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$@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.

©2021 Tracy Pearson