Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Basic question about inheritance
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Basic question about inheritance
Miscellaneous
Thread ID:
00097029
Message ID:
00097029
Views:
45
Hi. I have a question.

Example: An application is in-place with a few thousand text boxes based on the class AtxTextBox. In some of these text boxes there is coding in the LostFocus method for whatever reason. Time passes. Now a request is made to change the behaviour of the AtxTextBox. Lets say it is a request to change the ForeColor property when it has focus. I would think coding a ForeColor change in the GotFocus and LostFocus methods would make sense. The problem is that any of the controls based on the AtxTextBox control that have coding in the LostFocus method will not run the default code (changing the color back). Is there a simple way around this or will these text boxes have to be found and a DoDefault() stuck in all of the problem children.

BTW, this is just an example of the question. I am not looking for a specific solution to this question (unless it could be applied to all similar situations).

Thanks,
Joe
Joseph C. Kempel
Systems Analyst/Programmer
JNC
Next
Reply
Map
View

Click here to load this message in the networking platform