Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Run a method when some developer open the class
Message
 
 
À
29/09/2003 17:40:40
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00832885
Message ID:
00833419
Vues:
30
>Hello Larry;
>>
>>If the developer opens the Project and uses it, then you can create a Projecthook. I believe the QueryModifyFile event would fire when this occurred.
>>
>It is a nice possibility.. Do you know any sample for downloading of any projecthook basedclass ?
>
>I never work with projecthook before..
>
>Thanks..
>

Claudio,
There is an example of a projecthook in the Downloads section, File#14218. It uses the BeforeBuild and AfterBuild events. But you can get an idea of how it works.

Also, what Dave posted should be emphasized. If the developers don't use the Project Manager to access project files and they access them directly (that's exactly what I do), then the Project Manager doesn't open and the ProjectHook doesn't work.

Regards.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform