Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP Tip-o-the-day Project Manager Hook
Message
 
À
02/08/1998 02:20:46
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00123351
Message ID:
00123408
Vues:
12
>Hiya Jim ----
>
>>
>>VFP6 has a new baseclass named ProjectHook. You can subclass this and create a project manager hook object that has events that fire when things are done in the project manager. You can associate a ProjectHook class with a particular project and it will be created whenever you open the project to work on it.
>>
>>The properties, events, and methods of the ProjectHook are too numerous to list here. There is execellent documentation for the ProjectHook class in the on-line documentation and help file.
>
>I have been dying to find a reason to use the new project object.....haven't found any. Have you put it to realworld use yet? I hate solutions looking for a problem :)

John,

Yes I have. I used a project hook to keep a log of everything done on the project. I also have used the events for opening and adding a file to the project. There are other thing you can do with a project hook to keep the components added to the project in synch with the framework being used.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform