TiIntegerOutput.UndoOnError
TiIntegerOutput
Specifies whether the current value is restored to the previous value if the
current value has a conversion error.
property UndoOnError : Boolean;
Description
Use UndoOnError to specify whether the current value is restored to the
previous value if the current value has a conversion error. If UndoOnError is set to
TRUE, and the text entered by the user can not be converted to the format
specified by FormatStyle, then the previous valid value is restored.
Example
Delphi
iComponent.UndoOnError := True;
C++ Builder
iComponent->UndoOnError = True;
Contents | Index | Previous | Next