SmoothDialogBox

I do not success to set a background color on a smoothDialogBox... even if I copy/paste the TMS example !


Thank you for your suggestions.

The background color can be customized through the fill editor. 

It's exactly what I do:

- Color     $00009772
- ColorTo $0000CC99
Maybe some other property ?

Hi, 

This works as expected here with a default TAdvSmoothMessageDialog on the form:

procedure TForm1.Button1Click(Sender: TObject);
begin
  AdvSmoothMessageDialog1.ExecuteDialog;
end;

procedure TForm1.FormCreate(Sender: TObject);
begin
  AdvSmoothMessageDialog1.Fill.Color := $00009772;
  AdvSmoothMessageDialog1.Fill.ColorTo := $0000CC99;
end;

Kind Regards, 
Pieter

Thank you for your answer Pieter.


You are right, if you set these properties at run-time, it works.
But if the same properties are defined in the IDE, it does not.
No problem, I have a workaround.

Best regards.