Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxSpreadSheetHistory.AddCommand(TdxSpreadSheetHistoryCustomCommand) Method

Records the specified change command.

#Declaration

Delphi
procedure AddCommand(ACommand: TdxSpreadSheetHistoryCustomCommand);

#Parameters

Name Type
ACommand TdxSpreadSheetHistoryCustomCommand

#Remarks

Call this procedure and pass a target change command as the ACommand parameter to record the command to the undo action list. The AddCommand procedure:

  • Appends the command to the last history action in the undo list if the specified command affects the same target as the commands in the last history action.

  • Records the command as a new history action.

An AddCommand procedure call has no effect if the history action lists are locked.

See Also