FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour xBrowse flipping
Posts: 1392
Joined: Mon May 14, 2007 09:49 AM
xBrowse flipping
Posted: Mon Jun 27, 2016 01: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 ?

Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: xBrowse flipping
Posted: Thu Jun 30, 2016 08: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
Posts: 1392
Joined: Mon May 14, 2007 09:49 AM
Re: xBrowse flipping
Posted: Thu Jun 30, 2016 09:21 AM

Mr. Rao, thank you for your reply ! It was that I asked

Continue the discussion