General information
Category:
Coding, syntax & commands
> But now when I want to call methods of the EventHandler object ...
>
> somevar = this.GetHandler.SomeEventHandlerMethod()
>
> ... I get an "unknown member GETTEVENTHANDLER" error.
Can't do it in VFP, sucks. I've requested it, doesn't look like it was addressed. You need to do:
oO = This.GetEventHandler()
oO.SomeEventHandlerMethod()
I wish you could do it without the extra step, so you could create more realistic collections, and the like. It would also be cool to do ?sys(1270).Name or somethuing along those lines.. but you can't for the same reason. Maybe VFP8....
Previous
Next
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