Skip to main content

TdxSpreadSheetCellsModificationDialogForm.CellsModification Property

Returns the cell modification option selected in the Insert or Delete dialog.

Declaration

property CellsModification: TdxSpreadSheetCellsModification read;

Property Value

Type Description
TdxSpreadSheetCellsModification

The selected cell modification option.

Remarks

This property value depends on the dialog used and the option selected in it.

VCL SpreadSheet: The Cell Modification Dialog

Value Insert Dialog Option Delete Dialog Option
cmShiftCellsHorizontally Shift cells right Shift cells left
cmShiftCellsVertically Shift cells down Shift cells up
cmShiftColumns Entire column Entire column
cmShiftRows Entire row Entire row

The ShowCellsModificationDialog global function returns the CellsModification property value as the ACellsModification parameter if a click on the OK button or the Enter keystroke closes the invoked Insert or Delete dialog.

See Also