Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Here's an easy one...
Message
From
20/06/2001 14:08:05
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Here's an easy one...
Miscellaneous
Thread ID:
00521589
Message ID:
00521589
Views:
46
Hi All,

Could someone please help me with this? I'm sure the answer is simple, but my brain has gone to sleep and I'd like to catch up with it.

I have an object which stores a reference (in property oEventHandler) to an EventHandler object. I thought I'd hide the oEventHandler property, and allow access to it via a method, GetEventHandler() which just does a

return this.oEventHandler


But now when I want to call methods of the EventHandler object ...


somevar = this.GetHandler.SomeEventHandlerMethod()

... I get an "unknown member GETTEVENTHANDLER" error.

Before I go back and change all the references of GetEventHandler() to oEventHandler, is there another way of doing this?

Many thanks,
Neil
Next
Reply
Map
View

Click here to load this message in the networking platform