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

 

7 Comments
SteveChandler
Trusted Enthusiast

I will kudos any additional UI events.

=====================
LabVIEW 2012


CrystalTech
Member

Steve, it is good to see someone else who thinks the LabVIEW UI needs "more" anything.  I wish NI would make the FP as much a priority as their BD and Hardware.  I suspect NI is tired of hearing this from me.

elset191
Active Participant

I assume you're aware of the Scroll Position property.

 

For the record, I'm not suggesting that this idea is already complete.  Just a possible way to accomplish it already.

--
Tim Elsey
Certified LabVIEW Architect
Lavezza
Active Participant

@elset191: Yeah, that is what I am using now. I should have been clearer and said I'd like a non-polling way of getting scroll position changes. 🙂

 

SteveChandler
Trusted Enthusiast

CrystalTech, I have a suspicion that in a few (several) years the UI and even the IDE will cease to exist as we know it. I think that WebUI is an experiment that will lead to a complete overhaul. The UI will be completely replaced with some sort of XML description similar to XAML. G code will be developed in an environment as rich as Eclipse RCP and Graphical Editing Framework. Want to zoom in and out the block diagram? Easy. Want 3D G code? No problem.

 

All this is only a hunch based on nothing other than what I would do if I were the guy at NI making the decision. The IDE and GUI are such baggage. The real magic is in the G language and compiler. The rest is something that only a mother could love Smiley Wink

=====================
LabVIEW 2012


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.