Column scrolling in report list_box

Started by James Zukowski, April 13, 2022, 09:58:19 AM

Previous topic - Next topic

James Zukowski

Is there a way to ensure that a particular column is visible in a report-style list_box?
We've got list boxes with only about half the columns visible at a time. If we 'FindItemText$ to a column that is not visible, the line is highlighted, but the actual text can't be seen. This is especially confusing for users when that text appears more than once in the line.
There's a 'TopVisibleItem available for line-based visibility, but nothing I've found for columns. The closest is 'ColumnClicked, but that's read-only.
Thanks, all!
James Zukowski
Sr. Developer - J&E

BRAND>SAFWAY
Brand Industrial Services

Mike King

There is not a column lock for a list box, but there is for a grid.
Mike King
President - BBSysco Consulting - http://www.bbsysco.com
eMail: mike.king@bbsysco.com

James Zukowski

Thanks, Mike, but we're not really looking for a lock.
Example:
LB has 10 columns, but can only display the first 5 due to width/window restrictions. The user does a 'FindItemText$ search which locates a result in column 8. The entire line is highlighted, but they can't see the text they searched for without manually scrolling to the right.

Any ideas?
James Zukowski
Sr. Developer - J&E

BRAND>SAFWAY
Brand Industrial Services

Mike King

I believe the Grid will scroll the column/row into the display when you attempt to set focus to that cell.
Mike King
President - BBSysco Consulting - http://www.bbsysco.com
eMail: mike.king@bbsysco.com

James Zukowski

James Zukowski
Sr. Developer - J&E

BRAND>SAFWAY
Brand Industrial Services