Skip to main content

TdxSpreadSheetPreviousComment Class

An action object that corresponds to the PreviousComment command provided by the Spreadsheet and Report Designer controls.

Declaration

TdxSpreadSheetPreviousComment = class(
    TdxSpreadSheetCustomCommentNavigationAction
)

Remarks

This class does not introduce any new public members. Executing this action object moves focus to the nearest floating comment container located above and/or to the left of the current selection.

UI elements linked to a TdxSpreadSheetPreviousComment action object are enabled only if the following conditions are met:

  • Spreadsheet document editing is allowed (i.e., the control’s OptionsBehavior.Editing property is set to True).
  • An in-place cell editor is inactive (the active worksheet‘s IsEditing property returns False).
  • There is a comment container located above and/or to the left of the current selection.
See Also