Skip to main content

TcxTextEditPropertiesValues Class

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

Declaration

TcxTextEditPropertiesValues = class(
    TcxCustomEditPropertiesValues
)

Remarks

The TcxTextEditPropertiesValues class tracks the changes made to an editor’s DisplayFormat, EditFormat, 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 TcxTextEditPropertiesValues 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 editor repaints and avoid any flickering when the property flags are modified.

Inheritance

See Also