General information
Category:
Coding, syntax & commands
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only