Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Eventhandler problem
Message
From
11/09/2002 13:56:23
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00688845
Message ID:
00699445
Views:
13
IMHO you mix up 2 different approaches: old one - with VFP.COM utility and new one - with builtin VFP7 capabilities. To use new VFP7 features you have to declare your event-handling class with an enhanced DEFINE CLASS syntax. See more help on DEFINE CLASS in help (particularly IMPLEMENTS clause). You also don't need VFP.COM to build interface stencil - just use new ObjectBrowser, select your ClassLib (ActiveX) there, go to Interfaces branch and drag interface that you want to command window (or better to opened program code window) - it will build correct event handler class defenition to be used in conjunction with EventHandler() function.

WBR, Igor
Previous
Reply
Map
View

Click here to load this message in the networking platform