The NI Idea Exchange is a product feedback forum where NI R&D and users work together to submit ideas, collaborate on their development, and vote for the ones they like best. View all of the NI Idea Exchanges to post an idea or add your opinion on an existing one today!
I have an application where I want an autoscrolling listbox. I originally actually had a string indicator for this purpose, which was easier for autoscrolling to the bottom (just set Scroll.Position to +inf), but string controls do not respect the scroll wheel, and are diffult to selectively recolor (I want to color code by row).
The only way to programmatically affect the scroll position is to set the TopRow of a listbox. In this particular application, I have moveable splitters, so the size of the listbox is not constant. Plus, the elements are multiline-enabled, so I don't know how many rows would be visible even if I programmatically determined the vertical size of the listbox. It could be done, with a lot of math and wizardry, but it just doesn't seem like it should be that hard.
Can we get a ScrollPosition property, or a ScrollToEnd method for listboxes/multicolumn listboxes to provide this feature? Or has someone found a simpler way to accomplish this? [And no, I can't just reverse the incoming data so it scrolls up instead of down.]
You must be a registered user to add a comment here. If you've already registered, please log in. If you haven't registered yet, please register and log in.
Browse by label or search in the LabVIEW Idea Exchange to see if your idea has previously been submitted. If your idea exists be sure to vote for the idea by giving it kudos to indicate your approval!
If your idea has not been submitted click Post New Idea to submit a product idea to the LabVIEW Idea Exchange. Be sure to submit a separate post for each idea.
Watch as the community gives your idea kudos and adds their input.
As NI R&D considers the idea, they will change the idea status.
Give kudos to other ideas that you would like to see in a future version of LabVIEW!
By using this web site, you accept the Terms of Use for this web site. Please read these Terms of Use carefully before using any part of this site. Please go here for information on ni.com's copyright infringement policy.