positionTop

positionTop(): Integer;

The positionTop property of the JadeTableCell class returns the displayed position in pixels of the cell referenced by this object, relative to the client area of the Table control (the area inside borders).

If the current cell is not visible, one or both of the positionLeft or positionTop methods returns -1.

The code fragment in the following example shows the use of the positionTop method.

if table1.accessCell(2, 3).positionTop >= 0 then
    myTextBox.top := table1.accessedCell.positionTop;
endif;