Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can ProjectHook determine Project's Name ?
Message
General information
Forum:
Visual FoxPro
Category:
Project manager
Environment versions
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
00974941
Message ID:
00975112
Views:
21
>>Is there any way that my Default ProjectHook Class can determine the name of the Project that it's attached to?
>>
>>TIA
>
>I think once you are inside the project hook code, the project is active, so you can use
_VFP.ActiveProject.Name
Unfortunately, that's not ALWAYS true. I've found that in ProjectHook.Active(), the project isn't ALWAYS the ActiveProject, depending on how the project was activated ( it's been awhile, but I think that "Activate Window myProj" didn't make the project active, but "Modify Project myProj" did, or something like that ).
Bill Morris
Previous
Reply
Map
View

Click here to load this message in the networking platform