CellEditable - property of object PmTable
Getting (setting) the possibility to edit a cell (eventually the whole columns and rows).
This property is obsolete (but functional) and is replaced by SetCellEditable and GetCellEditable methods.
CellEditable(Row As Long, Col As Long) As Boolean
b = oTable.CellEditable(row, col)
|Row||(Long) If the value is greater or equal 0 then it is a index of the row (zero-based index, counted including the fixed part). |
Value -2 means the last row.
Value -3 sets the value to all rows (without the fixed part).
|Col||(Long) If the value is greater or equal 0 then it is a index of the column (zero-based index, counted including the fixed part). |
Value -2 means the last column.
Value -3 sets the value to all columns (without the fixed part).
Property access for read and write
. The property is functional only if the control type of the table was set to the value of 3
by the Interaction
property. It is not possible to set the value -3
in both parameters Row
; if the value is set in one parameter, then it cannot be used in the other.
Setting the possibility to edit cells in the 8th column (counted including the fixed part). The property is functional only if Interaction
VBScriptSelect and copy to clipboard
Set oTable = pMe.Items("/Ax0").Acx
oTable.Interaction = 3
oTable.CellEditable(-3, 7) = true