Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ProjectHook Basics?
Message
From
21/10/1999 23:54:18
 
General information
Forum:
Visual FoxPro
Category:
Project manager
Miscellaneous
Thread ID:
00279742
Message ID:
00279765
Views:
20
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform