Vote UpVote

Fixing the VCL TDateTimePicker checkbox handling bug for Windows Vista

TMS Software Blog – Up to the latest version of Delphi 2009, there is a bug with the standard TDateTimePicker component with respect to handling the checkbox click when DateTimePicker.ShowCheckBox is set to true. Where on operating systems older than Windows Vista, clicking the checkbox triggers the OnChange event and properly updates the TDateTimePicker public property Checked, it fails to do so on Windows Vista. Example: procedure TForm1.DateTimePicker1Change(Sender: TObject); begin if (Sender as TDateTimePicker).Checked then listbox1.Items.Add('datetimepicker checked') else ...
Favorite? Off-Topic? Bruno Fierens @ 2009-07-19 21:45


Visits: 791
Votes: 2
Favorites: 1
Off-Topic: 0

Visits by Source

User Actions

Users who voted for this posting

Jan Derk
Contact us to advertise on DelphiFeeds.com

Community Links

Torry Firebird News


Please login or register to use this functionality.
(click on this box to dismiss)