RemoveRow - method of object PmTable
The method removes a row (or more rows) on the specified position. Existing rows after this position are moved.
RemoveRow(Row As Long, [Count As Long]) As Long
|Row||(Long) If the value is >=0, then it is a index of the row (zero-based index). |
Value -2 means that the last row is deleted.
Value -3 means that all rows except fixed are deleted.
|Count||[optional] (Long) The number of removed rows. The preset value is 1. |
If the requested count is higher than existing then the method is not executed.
Returns the number of all (also fixed) rows (after requested rows are removed).
Fixed row cannot be removed by this method.
The method can also be called in the graphic item events for Web panels