[Lazarus] Custom panel - issue with parent color in childs
Krzysztof
dibo20 at wp.pl
Wed Dec 5 16:49:52 CET 2012
Hi,
I have own custom panel which inherit from TCustomControl instead of
TCustomPanel (which inherit from TCustomControl also). Problem is that
controls placed on my panel don't refresh parent color. See screen (
http://i45.tinypic.com/16ld1fr.png ), top panel is my, bottom is standard
TPanel. Both have color set to clBlack, but TEdit placed on my panel has
gray background instead of black. I'm analyzing source of TCustomPanel and
I'm stuck. I have the same flags etc. Have widgets hard coded check that
parent for background color must inherit from TCustomPanel/TCustomForm?
Regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20121205/da52a374/attachment-0002.html>
More information about the Lazarus
mailing list