Skip to main content

TcxSpinEditPropertiesValues Class

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

Declaration

TcxSpinEditPropertiesValues = class(
    TcxTextEditPropertiesValues
)

Remarks

The TcxSpinEditPropertiesValues class tracks the changes made to a spin editor’s DisplayFormat, EditFormat, MaxLength, MaxValue, MinValue, ReadOnly and ValueType properties. Once one of these properties is set to a value other than the default one, the changes are reflected in the TcxSpinEditPropertiesValues 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 spin editor repaints and avoid any flickering when the property flags are modified.

See Also