General information
Category:
Coding, syntax & commands
Title:
Here's an easy one...
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
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