Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Here's an easy one...
Message
From
21/06/2001 10:31:55
 
 
To
20/06/2001 14:08:05
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00521589
Message ID:
00521910
Views:
18
> 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
Map
View

Click here to load this message in the networking platform