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
-- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
