How to know first record displayed in TxBrowse()

Post Reply
User avatar
Rafael Clemente
Posts: 365
Joined: Sat Oct 08, 2005 7:59 pm
Location: Barcelona, Spain

How to know first record displayed in TxBrowse()

Post 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
User avatar
Rafael Clemente
Posts: 365
Joined: Sat Oct 08, 2005 7:59 pm
Location: Barcelona, Spain

Post by Rafael Clemente »

Got it:

Code: Select all

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