Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ProjectHook Basics?
Message
De
21/10/1999 23:54:18
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de projet
Divers
Thread ID:
00279742
Message ID:
00279765
Vues:
21
>I am reading through the Sep98 issue of Foxtalk and the Oct99 issue of Fox Advisor about ProjectHooks. I want to use one to keep the printer-specific info out of my reports (in the BeforeBuild event).
>

>But I'm too thick to figure out how to add a project hook to my project (now 98% done). Can anyone give me the basics of adding a ProjectHook?

First, create the project hook class. (New-> class, projuect hook).

Add code to whatever event you want (in your case, BeforeBuild).

Then, in the project manager, Right click and go to project Info. At the bottom of the info dialog, oyu can check Project Hook, and select your class from the class dialog.

The hook won't attach itself until you close and reopen the project.
Erik Moore
Clientelligence
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform