We use a simple project class to put us into the root directory of the project
we have just opened.
DEFINE CLASS projhook AS projecthook
Height = 22
Width = 23
Name = "projhook"
PROCEDURE Init
LOCAL lcDir
lcDir=_VFP.ACTIVEPROJECT.HOMEDIR
SET DEFAULT TO (lcDir)
ENDPROC
ENDDEFINE
-----Original Message-----
From: ProfoxTech <[email protected]> On Behalf Of Tracy Pearson
Sent: Monday, 03 February 2020 21:08
To: [email protected]
Subject: RE: Is there a way to uto open the last project?
If you have the setting in the Tools - Options - View tab - Open last project
on startup.
You may be able to look at _VFP.ActiveProject.HomeDir to know where to go.
Otherwise, I'm not sure how to determine the last used project.
HTH,
Tracy
-----Original Message-----
From: ProfoxTech [mailto:[email protected]] On Behalf Of Michael
Savage
Sent: Monday, February 03, 2020 4:01 PM
To: [email protected]
Subject: Is there a way to uto open the last project?
I have standard directory structure that I use. I can run a seetup program when
I'm in the root directory of a project. Is there way to know what the last
project project was, and therefore change to it automatically and then run my
setup routine.
TIA,
Mike
--- StripMime Report -- processed MIME parts --- multipart/alternative
text/plain (text body -- kept)
text/html
---
[excessive quoting removed by server]
_______________________________________________
Post Messages to: [email protected]
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/loyp123mb3167226f3fc069b6ce4ce25f8f...@loyp123mb3167.gbrp123.prod.outlook.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.