FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour How to know first record displayed in TxBrowse()
Posts: 365
Joined: Sat Oct 08, 2005 07:59 PM
How to know first record displayed in TxBrowse()
Posted: Wed Nov 21, 2007 11:18 AM

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

Posts: 365
Joined: Sat Oct 08, 2005 07:59 PM
How to know first record displayed in TxBrowse()
Posted: Wed Nov 21, 2007 11:42 AM
Got it:
Solved:  nFirstElement := oBrw:nArrayAt - oBrw:nRowSel + 1

Continue the discussion