Skip to main content

cidDelete Constant

Specifies an ID of the Delete pop-up menu item.

Declaration

const cidDelete = 5;

Remarks

This menu item is enabled if the active worksheet’s CanDelete function returns True.

A click on the “Delete” menu item deletes the focused floating container, or a number of rows or columns depending on the active cell selection if the context menu is invoked at the row or column header. If the menu is invoked for a selected cell range, this menu item has the “Delete…” caption and invokes the “Delete Cells“ dialog.

Use the sdxBuiltInPopupMenuDelete and sdxBuiltInPopupMenuDeleteDialog resource strings to localize the “Delete” and “Delete…” menu items.

See Also