TdxSpreadSheetEditComment Class
An action object that implements the EditComment end-user command in Spreadsheet and Report Designer-based applications.
Declaration
TdxSpreadSheetEditComment = class(
TdxSpreadSheetCustomCommentAction
)
Remarks
This class does not introduce any new public members. Executing this action object results in:
- Invoking the Customize Object dialog with the active Text tab for an existing comment container whose cell object is currently selected.
- Creating a new comment container at the focused cell and invoking its Customize Object dialog with the active Text tab.
UI elements linked to a TdxSpreadSheetEditComment
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
). - Container editing is allowed in the active worksheet (i.e., its CanEditContainers function returns
True
). - A comment container is currently selected.
Note
Technically, both TdxSpreadSheetEditComment
and TdxSpreadSheetNewComment action objects work identically, invoking the EditComment procedure for the currently active Table View worksheet.
Inheritance
See Also