Page 1 of 1

How to know first record displayed in TxBrowse()

Posted: Wed Nov 21, 2007 11:18 am
by Rafael Clemente
I am using a TxBrowse for editing an array.
When I scroll up or down, how can I get a reference (i.e: the element / record number) of the first array element being displayed?
Thanks
Rafael

Posted: Wed Nov 21, 2007 11:42 am
by Rafael Clemente
Got it:

Code: Select all

Solved:  nFirstElement := oBrw:nArrayAt - oBrw:nRowSel + 1