1) TForm.Color property sicks stubbornly to clBtnFace, whatever you do. Setting a different Color triggers a repaint, but the form is painted with the default color. What is weird is that if you put a component such as a Panel on the form and set its ParentColor true, then the component is painted on the Form.Color you set, while the form below doesn't change. See attached images. Panel1.Parent Color is set to true, and an OnClick event sets Form1.Color to clLime.
2) Delphi Form has a Bitmap property which allows to set a background image on the form, while Lazarus does not.
Of course there are workarounds, using OnPaint events, but this isn't pretty, because the form is first painted as lazarus believes right, and then repainted as I want.
Are those design choices, or bugs? Giuliano
<<attachment: FormColor1.jpg>>
<<attachment: FormColor2.jpg>>
