LabVIEW Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
Lavezza

Scroll Position Change Event for String Controls

Status: New

I have a need to keep two string indicators lined up as the user scrolls one of them. It would be great if I could use the event structure to capture scroll position. It doesn't look like that is an option. I didn't see this posted yet.

 

String.PNGstring2.png

 

2 Comments
thadyale
Member

Resurrecting this thread.

 

It's 2023 and I have to hack together event detection for scrolling in the following controls:

  • All of them

 

In order to get complete control, I would need to monitor the following:

  • Mouse Down
  • Mouse Move
  • Mouse Up
  • Mouse Wheel
  • Key Down
  • and that's not even including the selection-scrolling that takes place in some controls

 

Come on, NI.  We need control scrolling events for all resizable controls.  Strings, Listboxes, Trees, Tables.  The list goes on, but it can be generalized to: if it has a scrollbar, I want events for it.  There are too many gotchas for what can change the scroll position on something, so we need the event. 

wiebe@CARYA
Knight of NI

In stead of adding these events to all controls with a scrollbar, I'd be ok with exposing a reference to the scrollbar (and other parts), so we can (dynamically) register events to it.

 

Whatever is easier.

 

All workarounds are painfully annoying. This is one of those typical LabVIEW situations where a simple task becomes a project on it's own, without ever being 100% successful.