TiEditCustom.CanUndo

TiEditCustom

Indicates whether the edit control contains changes that can be backed out.

property CanUndo: Boolean;

Description

Read CanUndo to determine whether the user has made any changes to the text that can be undone by calling the Undo method. This is useful when enabling or disabling menu items that correspond to these commands.

Example

Delphi

Value := iComponent.CanUndo;

C++ Builder

Value = iComponent->CanUndo;

Contents | Index | Previous | Next