Link to home
Start Free TrialLog in
Avatar of sccheung
sccheung

asked on

How to be notified when a inherited property is changed?

I am writing a component which displays a different picture when disabled. How do I know that the enabled property is changed? I can do this by writing "Property Enabled:Boolean read FEnabled write SetEnabled" and do the things I want in the SetEnabled procedure if Enabled is a property declared by me. But this Enabled property is inherited from TCustomControl. I cannot do this in a inherited property. How to tell Delphi to do my code then do the inherited code when the Enabled property is changed?
Avatar of sccheung
sccheung

ASKER

Why don't you answer my question? Not enough points? I increase points to 20. Please answer my question!
ASKER CERTIFIED SOLUTION
Avatar of icampbe1
icampbe1

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial