Skip to main content

TcxDateEditPropertiesValues Class

Contains the property flags that indicate which properties specific to a date editor have been changed.

Declaration

TcxDateEditPropertiesValues = class(
    TcxTextEditPropertiesValues
)

Remarks

The TcxDateEditPropertiesValues class tracks the changes made to a date editor’s DateButtons, DisplayFormat, EditFormat, InputKind, MaxLength, MaxValue, MinValue and ReadOnly properties. Once one of these properties is set to a value other than the default one, the changes are reflected in the TcxDateEditPropertiesValues class (its corresponding property flag is set to True). To undo the changes made and reverse the property back to its default value, set the corresponding property flag to False or call the RestoreDefaults method to reverse all these properties back to their default values and reset all the property flags. Use the BeginUpdate and EndUpdate methods to control when the date editor repaints and avoid any flickering when the property flags are modified.

See Also