12-07-2016 03:23 PM
I wanted to trap changes in key focus, but there's no built-in event for it. I couldn't find anything online that someone had already built, so I invented my own. It's a bit messy under the hood, but fairly clean at the top level.
12-07-2016 03:32 PM
My Christmas wishlist:
Labview 2016
12-07-2016 03:53 PM
Nothing happened for me when I clicked either the Boolean button or the Stop button (the latter I understand ...).
I understand the logic of putting the code in a library (an .lvlib file). But what is the reason/are the advantages of using a .llb to further "bundle" these routines? [I partly answered my own question by using LabVIEW Help, including the Saving VIs section, but I'm still a bit unsure I completely "get it" ...]
Bob Schor
12-08-2016 07:11 AM
Clicking on the Boolean doesn't give it key focus.
I use .llbs as a convenient way to package a set of related VIs.
12-08-2016 07:27 AM
Here's an improved version.
12-08-2016 07:28 AM - edited 12-08-2016 07:28 AM
I guess you all kudoed this (mine) idea?
😄
12-08-2016 08:12 AM
Wow, a 5-year-old, 130 (now 131) Kudo'ed Idea still hanging in there. Go, GerdW!
Bob Schor
12-08-2016 09:57 AM
On that old post, someone wanted the event data to include info about which control previously had focus.
This raises the question: The 'previous control' on the current VI, or the 'previous control' on any VI?
The first would be fairly easy to add. The second, I haven't figured out a way to do that.
12-12-2016 09:57 AM
After many machinations, I came up with a version that works with multiple simultaneous VIs and also with multi-pane VIs.