How to know first record displayed in TxBrowse()

How to know first record displayed in TxBrowse()

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

Postby Rafael Clemente » Wed Nov 21, 2007 11:42 am

Got it:
Code: Select all  Expand view
Solved:  nFirstElement := oBrw:nArrayAt - oBrw:nRowSel + 1
User avatar
Rafael Clemente
 
Posts: 365
Joined: Sat Oct 08, 2005 7:59 pm
Location: Barcelona, Spain


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 81 guests

cron