RE: EventHandler() function help

2006-08-04 Thread Rick Schummer
Bill, Your eventhandler object has to have all the events in the interface coded in your PRG. This does not mean you need behavior code in each event, but the shell of the procedure has to be there. The VFP Object Browser can help in this respect. All you have to do is drag the interface to a

Re: EventHandler() function help

2006-08-04 Thread Bill Kressbach
Yes, I used that technique. Here's the code that doesn't work: PUBLIC oEvents oEvents=NEWOBJECT(myclass) oComm = CREATEOBJECT(CrossPointServer.CrossPointServer) _comm object EventActive=EVENTHANDLER(oComm,oEvents) ?EventActive DEFINE CLASS myclass AS session OLEPUBLIC IMPLEMENTS