> protected methods are available to the class and child objects. These cannot be overwritten.
That is a good starting point.
a)
Make a class based on container and put the textbox to it. Now textbox belongs to the class and can call methods you define as protected.
Still I think it can be overwritten.
b)
Consider calling mycontainerclass::mouseenter(...) to call the method of your class the way it is defined in the class.
Take a lok at the :: operator in the help.
c)
You might also consider using the control base class, put a container in that and a textbox in the container. That container belongs to you only. The user/developer using that control class only can see the public properties and methods of the outer control frame.
Bye, Olaf.
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