mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-11-03 07:19:38 +01:00
DateTimePicker: Adjust comments of option enums so that OI's InfoBox can show them. Issue #39524.
This commit is contained in:
parent
18b5c2d3e2
commit
b82a00a7bc
@ -125,14 +125,18 @@ type
|
||||
TDTCalAlignment = (dtaLeft, dtaRight, dtaDefault);
|
||||
|
||||
TDateTimePickerOption = (
|
||||
dtpoDoChangeOnSetDateTime, // The OnChange handler will be called also when
|
||||
// date/time is programatically changed.
|
||||
dtpoEnabledIfUnchecked, // Enable the date time picker if the checkbox is unchecked.
|
||||
dtpoAutoCheck, // Auto-check an unchecked checkbox when DateTime is changed
|
||||
// (makes sense only if dtpoEnabledIfUnchecked is set).
|
||||
dtpoFlatButton, // Use flat button for calender picker.
|
||||
dtpoResetSelection // When the control receives focus, the selection is always
|
||||
// in the first part (the control does not remember which part was previously selected).
|
||||
// The OnChange handler will be called also when date/time is programatically changed.
|
||||
dtpoDoChangeOnSetDateTime,
|
||||
// Enable the date time picker if the checkbox is unchecked.
|
||||
dtpoEnabledIfUnchecked,
|
||||
// Auto-check an unchecked checkbox when DateTime is changed
|
||||
// (makes sense only if dtpoEnabledIfUnchecked is set).
|
||||
dtpoAutoCheck,
|
||||
// Use flat button for calender picker.
|
||||
dtpoFlatButton,
|
||||
// When the control receives focus, the selection is always
|
||||
// in the first part (the control does not remember which part was previously selected).
|
||||
dtpoResetSelection
|
||||
);
|
||||
|
||||
TDateTimePickerOptions = set of TDateTimePickerOption;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user