DIAdem Help

Method: AddCells for Selection

  • Updated2024-09-12
  • 2 minute(s) read

Method: AddCells for Selection

Selects the specified cells of an extended table in user dialog boxes. If multiple selection is possible in the extended table, this method adds the specified cells to the cells that are already selected.

Object.AddCells(FromRow, FromCol, ToRow, ToCol)
ObjectSelection
Object with this method
FromRowLongInteger
Specifies the first row to be selected.
FromColLongInteger
Specifies the first column to be selected.
ToRowLongInteger
Specifies the last row to be selected.
ToColLongInteger
Specifies the last column to be selected.

The following example first deletes all the selected cells of the extended table XTable1 and then selects the second and the third cell of the fourth column in this table:

Call XTable1.SelectedElements.RemoveAll
Call XTable1.SelectedElements.AddCells(2,4,3,4)
Call XTable1.Refresh()

Log in to get a better experience