xBrowse flipping

xBrowse flipping

Postby Natter » Mon Jun 27, 2016 1:07 pm

If you captured the thumb on the vertical scrollbar (e.g. in Excel) and move it up or down, the browser flipping easy. If doing this in xBrowse, the scrolling is not very good. How can I fix it ?
Natter
 
Posts: 1216
Joined: Mon May 14, 2007 9:49 am

Re: xBrowse flipping

Postby nageswaragunupudi » Thu Jun 30, 2016 8:27 am

Are you referring to this?

In Excel, when we move vertical scroll bar up and down, all the contents of the sheet also scroll at the same time. Do you mean it does not happen in XBrowse? Is that your issue?

If so, please read this.

if we set oBrw:lVThumbTrack := .t. ( default .f. ) the contents of the screen scroll at the same time we move the vscroll thumbtrack.

The data Excel handles is in memory. So scrolling is fast.
XBrowse handles all kinds of data and mostly disk based data like DBF. Continuous scrolling is not fast due to data access speeds. So simultaneous scrolling is not feasible. After we move the thumbtrack up and down and leave it, then the xbrowse is refreshed.

This is the default.

But when XBrowse is used with Arrays and ADO recordsets, the scrolling is simultaneous just like Excel. In these cases oBrw:lVThumbTrack is set to .T. automatically.

Where you want and consider data access is fast, set oBrw:lVThumbTrack to .T. and scrolling will be like Excel.
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10632
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: xBrowse flipping

Postby Natter » Thu Jun 30, 2016 9:21 am

Mr. Rao, thank you for your reply ! It was that I asked
Natter
 
Posts: 1216
Joined: Mon May 14, 2007 9:49 am


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 87 guests