"lineRangeVisible"
Returns the upper and lower limits of the rows currently visible.
Synopsis
(string shape, "lineRangeVisible", int &n, int &m);
Parameters
Parameter | Description |
---|---|
shape | Name of the object |
n | Index of the top row, starting at 0 |
m | Index of the bottom row |
Description
Returns the numbers of the visible top ("n") and bottom ("m") rows of a table. Remember that the first row has the index 0.
Example
The following example, displays the row limits in the log viewer.
main()
{
shape table=getShape("table123");
int k, l;
getValue(table, "lineRangeVisible", k, l);
DebugN("Upper: ", k, "Lower: ", l);
}
Assignment
Table