[yunqa.de] Suggestion - Make TDiHtmlLabel.FRect protected.

  • From: Edwin Yip <edwin.yip@xxxxxxxxxxxxxxxxxx>
  • To: yunqa@xxxxxxxxxxxxx
  • Date: Fri, 17 Feb 2012 14:21:02 +0800

Hi Ralf,

Would you change the visibility of TDiHtmlLabel.FRect to protected from
private?

I made a derived control based on TDiHtmlLabel added a function to reflect
the 'mouse hover' state of the control (by changing the label's entire
background color when the user mouse hover the control).

In order to do that I had to overridden the Paint method which will need to
access the FRect field.

Thanks.

-- 
Best Regards,
Edwin Yip

Mind Mapping is as Effortless as Typing
http://www.InnovationGear.com

Other related posts: