TdxSpreadSheetNewComment Class
In This Article
An action object that corresponds to the NewComment command provided by the Spreadsheet and Report Designer controls.
#Declaration
Delphi
TdxSpreadSheetNewComment = class(
TdxSpreadSheetCustomCommentAction
)
#Remarks
This class does not introduce any new public members. Executing this action object results in:
- Creating a new comment container at the focused cell and invoking its Customize Object with the active Text tab.
- Invoking the Customize Object dialog with the active Text tab for an existing comment container whose cell object is currently focused.
UI elements linked to a TdxSpreadSheetNewComment
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
). - Floating container editing operations are allowed in the active worksheet (i.e., its OptionsProtection.ActualAllowEditContainers property returns
True
). - No floating container is currently selected.
Note
Both Tdx
and Tdx
#Inheritance
See Also