TdxSpreadSheetHistory Members
Stores and manages the undo and redo action lists in spreadsheet controls.Constructors
| Name | Description |
|---|---|
| Create(TdxCustomSpreadSheet) | Creates a new persistent object for the specified Spreadsheet or Report Designer control. Inherited from TdxSpreadSheetPersistentObject. |
Properties
| Name | Description |
|---|---|
| MaxActionCount | Specifies the maximum number of history actions stored in the undo and redo lists. |
| RedoActionCount | Returns the number of previously undone actions that you can re-apply to the opened document. |
| RedoActions | Provides indexed access to the list of undone actions. |
| SpreadSheet | Provides access to the Spreadsheet or Report Designer control to which the persistent object belongs. Inherited from TdxSpreadSheetPersistentObject. |
| UndoActionCount | Returns the number of actions that you can undo in the opened document. |
| UndoActions | Provides indexed access to the recorded history actions that you can undo. |
Methods
| Name | Description |
|---|---|
| AddCommand(TdxSpreadSheetHistoryCustomCommand) | Records the specified change command. |
| Assign(TPersistent) | Inherited from TPersistent. |
| AssignTo(TPersistent) | Inherited from TPersistent. |
| BeginAction(TdxSpreadSheetHistoryActionClass) | Locks the action history and starts to record a series of document changes as a single history action. |
| CanAddCommand | Identifies if you can record new history actions. |
| Clear | Clears the undo and redo action lists. |
| EndAction(Boolean) | Adds a recorded series of document changes to the undo list as a single action and unlocks the action history. |
| Equals(TObject) | Inherited from TObject. |
| GetHashCode | Inherited from TObject. |
| GetNamePath | Inherited from TPersistent. |
| GetOwner | Inherited from TPersistent. |
| Lock | Protects the history action lists from changes until an Unlock procedure call. |
| QueryInterface(TGUID,Untyped) | Inherited from TInterfacedPersistent. |
| Redo(Integer) | Reapplies one or more previously undone actions to the opened document. |
| ToString | Inherited from TObject. |
| Undo(Integer) | Reverses the effects of one or more actions made in the opened spreadsheet document. |
| Unlock | Restores the spreadsheet control’s capability to save new history actions after a Lock procedure call. |
See Also