"selectLineN"

Selects a specific line in a table.

Synopsis

setValue(string shape, "selectLineN", int n);

shape.selectLineN(int n);

Parameters

Parameter Description
shape Name of the object
n Index of the line, starting at 0

Description

This attribute selects a specific line in a table in the TABLE_SELECT_BROWSE mode. For information about the different modes of a table, see "tableMode".

Example

The following example selects the third row and second column of "table22".

main()
{
  shape table=getShape("table22");
  ...
  table.tableMode=TABLE_SELECT_BROWSE;
  table.selectLineN(2);
  table.selectColumnN(1);
  ...
}

Assignment

Table, TABLE_SELECT_BROWSE mode