by 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