If I am missing something, not googling correctly, please let me know, as I cannot find, and don't think there is a solution, unless there is some special secret INI key I do not know about.
Background:
I am using a multicolumn listbox whose first three columns contain symbols for various "DAQ" actions. In the picture below, there is a record, stop, and edit task symbol.
Unfortunately you cannot "merge" column headers for a multicolumn listbox. The "Actions" label is a free floating decoration that sits on the listbox.
Here's the problem:
There is a horizontal scroll bar at the bottom of the listbox, when the user scrolls I want to move my decoration label like it is part of the listbox column headers.
Problems:
- It does not seem possible to get the value of the horizontal scroll bar from a listbox property node. Maybe there is a hidden property for this? @paul_cardinale I am looking in your direction.
- I thought about making my own scroll bar for the list box, but I would not be able to use smooth scrolling as the property "Active Cell
osition Property" is read only. I could make/use a scroll bar to scroll column to column though as a work-around.
- I can do something "clunky" like below on a mouse up/down event on the scroll bar. Here I set to a known active cell, find its position, and adjust the position of the decoration. However, it is not smooth.
Any suggestions or workarounds?
Thanks.
Cheers,
mcduff