помогите покрасить ProgressBar. Что только не делаю, не красится и все. Вот что я делаю...
- Код: Выделить всё
uses
CommCtrl;
procedure TForm1.Button1Click(Sender: TObject);
begin
// Set the Background color to red
Progressbar1.Brush.Color := clRed;
// Set bar color to red
SendMessage(ProgressBar1.Handle, PBM_SETBARCOLOR, 0, clRed);
end;