How to change color of TDateTimePicker?
问题 How do i change the color of a TDateTimePicker ? A Date and Time Picker can have a color: Normally this is done by setting the Color : procedure TForm1.FormCreate(Sender: TObject); begin DateTimePicker1.Color := clLime; end; But when using version 6 of the Date and Time Picker Control, the color no longer works: I tried using SetWindowTheme to disable the style of the TDateTimePicker : procedure TForm1.FormCreate(Sender: TObject); begin UxTheme.SetWindowTheme(DateTimePicker1.Handle, '', '');