Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Class Design Question
Message
From
06/12/2006 04:36:58
 
 
To
05/12/2006 13:03:54
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
01174970
Message ID:
01175128
Views:
7
> 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
Map
View

Click here to load this message in the networking platform