EControl Syntax Editor SDK
TCustomSyntaxMemo.CanUndo Property

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

property CanUndo: Boolean;

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.

Copyright (c) 2004-2011. All rights reserved.
What do you think about this topic? Send feedback!