xBrowse - Jump to a specific column

Post Reply
User avatar
don lowenstein
Posts: 196
Joined: Mon Oct 17, 2005 9:09 pm
Contact:

xBrowse - Jump to a specific column

Post by don lowenstein »

I have an xbrowse that begins by displaying column 1 (as normal).

There are over 1000 fields in a particular database.

Users can specify which column they wish to see (column 500 for example) without scrolling to the right looking for certain values.

Question --

What is the best way to "move" my browse display from column 1 to column 500 so that my users can now view the data in column 500?

I've tried to modify the obrw:ncolsel variable, but, upon a paint() command the internals of the browse are reset 1 - the previous ncolsel value.

What I'm trying to avoid the slowness of "GoRight" 499 times, if possible.

is there a method available that will "GoToColumn( nCol )" or something like that?
Don Lowenstein
www.laapc.com
Colin Haig
Posts: 310
Joined: Mon Oct 10, 2005 5:10 am

Re: xBrowse - Jump to a specific column

Post by Colin Haig »

Hi Don

oLbx:SelectCol(10)
oLbx:Refresh()

Hope that is what you meant.

Cheers

Colin
User avatar
don lowenstein
Posts: 196
Joined: Mon Oct 17, 2005 9:09 pm
Contact:

Re: xBrowse - Jump to a specific column

Post by don lowenstein »

yes - thank you.
Don Lowenstein
www.laapc.com
Post Reply