[lazarus] Default TControl.Color

Micha Nelissen M.Nelissen at student.tue.nl
Fri Sep 12 15:38:31 EDT 2003


The default color in the VCL is clWindow, but the default color in the 
LCL is cBtnFace. This is the cause for TMemo and TListbox backgrounds to 
be in the clBtnFace color. I think the 'correct' way to solve this is to 
maintain VCL compatibility, because future controls may expect this. In 
that case we do need to change the default color back to clBtnFace for 
forms however (and maybe other controls too).



More information about the Lazarus mailing list