Skip to main content

TcxTextEditPropertiesValues.RestoreDefaults Method

Reverses the values of the properties (changes to which are being tracked) back to their default values.

Declaration

procedure RestoreDefaults; override;

Remarks

The RestoreDefaults method undoes any changes made to the properties and resets their values back to the default ones. Calling this method sets the text editor’s properties being tracked (DisplayFormat, EditFormat, MaxLength, MaxValue, MinValue and ReadOnly) to the default values and resets the corresponding property flags to False. Setting the property flag of each property being tracked to False has the same result as calling the RestoreDefaults method.

See Also