nPos = MTblGetRowVisPos( hWndTbl, nRow )

Gets a row's position within the visible rows. The first position is 0, the second 1 and so on.

Parameters
hWndTbl
Window Handle: Handle of the table

nRow
Number: Row whose position you want to get

Return
Number: Position if successful or TBL_Error if the row is hidden/invalid or an error occured

Example

Set nRowPos = MTblGetRowVisPos( hWndTbl, nRow )

Remarks
When nRow is a split row, the position within the split rows is returned, otherwise the position within the normal rows is returned.

Created with the Personal Edition of HelpNDoc: Full-featured EBook editor