property Edit.CanUndo as Boolean
Determines whether the last edit operation can be undone.

 TypeDescription 
   Boolean A boolean expression that indicates whether the last edit operation can be undone.  

You can use the CanUndo property just before doing an undo operation by code. Also, the CanUndo property can be used to update your menu, button. The CanRedo property determines if the redo queue contains any actions. Use the AllowUndoRedo property to enable undo/redo support. Use the Undo method to undo the last edit-control operation.


Send comments on this topic.
1999-2016 Exontrol.COM, Software. All rights reserved.