Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can ProjectHook determine Project's Name ?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de projet
Versions des environnements
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP2
Divers
Thread ID:
00974941
Message ID:
00975112
Vues:
22
>>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform