positionTop(): Integer; (Table) positionTop(index: Integer): Integer; (ListBox)
The positionTop method of the Table control returns the displayed top position of the current cell in pixels, relative to the top of the client area of the table (the area inside borders). The sheet, column, and row properties define the current cell.
If the current cell is not visible, one or both of the positionLeft or positionTop methods returns -1.
The positionTop method of the ListBox control returns the displayed top position in pixels of the list box entry specified in the index parameter, relative to the client area of the ListBox control (that is, the area inside borders). If the requested list entry is not visible or the specified index is not valid, the positionTop method returns -1. (Use the getListIndex method to return the index of the displayed list entry corresponding to the specified x and y positions.)