On 12/23/14, zeljko <[email protected]> wrote: > No, clDefault is incorrect at any time. To obtain color we have: > function GetColorResolvingParent: TColor; > function GetRGBColorResolvingParent: TColor;
Thanks. I'm trying to create an "overlay" for a TEdit which van display a TextHint property (http://docwiki.embarcadero.com/Libraries/XE2/en/Vcl.StdCtrls.TCustomEdit.TextHint). Life would be so much easier if we could draw on the TEdit's canvas (or even if a TEdit could be the parent of some other TComponent. Bart -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
