[lazarus] Default TControl.Color
Mattias Gaertner
nc-gaertnma at netcologne.de
Sat Sep 13 06:07:16 EDT 2003
On Fri, 12 Sep 2003 21:39:26 +0200
Micha Nelissen <M.Nelissen at student.tue.nl> wrote:
> Hi,
>
> 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).
The default color is only for Delphi compatibility, so I changed it to
clWindow. Don't know, why it was clBtnFace.
Mattias
More information about the Lazarus
mailing list