mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-11 17:39:44 +02:00
TDateTimePicker: expose FEffectiveDateDisplayOrder and FEffectiveHideDateTimeParts as read only protected properties. Patch by michalgw. Issue #39971.
This commit is contained in:
parent
1af6a0e61f
commit
db8a298e3d
@ -116,6 +116,7 @@ type
|
||||
// because this set type is used for HideDateTimeParts property,
|
||||
// where hiding of AMPM part is tied to hiding of hour (and, of
|
||||
// course, it makes a difference only when TimeFormat is set to tf12)
|
||||
TEffectiveDateTimeParts = set of TDateTimePart;
|
||||
|
||||
TArrowShape = (asClassicSmaller, asClassicLarger, asModernSmaller,
|
||||
asModernLarger, asYetAnotherShape, asTheme);
|
||||
@ -160,7 +161,7 @@ type
|
||||
FChecked: Boolean;
|
||||
FDateDisplayOrder: TDateDisplayOrder;
|
||||
FHideDateTimeParts: TDateTimeParts;
|
||||
FEffectiveHideDateTimeParts: set of TDateTimePart;
|
||||
FEffectiveHideDateTimeParts: TEffectiveDateTimeParts;
|
||||
FKind: TDateTimeKind;
|
||||
FLeadingZeros: Boolean;
|
||||
FMonthDisplay: TMonthDisplay;
|
||||
@ -382,6 +383,9 @@ type
|
||||
procedure RemoveHandlerOnChange(AOnChange: TNotifyEvent); virtual;
|
||||
procedure RemoveHandlerOnCheckBoxChange(AOnCheckBoxChange: TNotifyEvent); virtual;
|
||||
|
||||
property EffectiveHideDateTimeParts: TEffectiveDateTimeParts read FEffectiveHideDateTimeParts;
|
||||
property EffectiveDateDisplayOrder: TDateDisplayOrder read FEffectiveDateDisplayOrder;
|
||||
|
||||
property BorderStyle default bsSingle;
|
||||
property AutoSize default True;
|
||||
property TabStop default True;
|
||||
|
Loading…
Reference in New Issue
Block a user