"lineVisible"
Forces that a specific line of the table remains in the visible table area.
Synopsis
setValue(string shape, "lineVisible", int n);
getValue(string shape, "lineVisible", int &n);
shape.lineVisible(int n);
Parameters
Parameter | Description |
---|---|
shape | Name of the object |
n | Line index, starting at 0 |
Description
Forces that a specific line of the table remains in the visible table area. Using this attribute you can move the focus in a table window to force the specific line to be visible. I.e. if using "appendLines" new lines were added to the table, you can set n = 1 to display the table area with the line 2 on the top. If n = -1 has been set, then it will be scrolled to the last line in the table. This does not work in the stopped mode.
Example
The following example shifts the window focus to the third row.
main()
{
table1.lineVisible(2);
}
Assignment
Table