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.
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" ...]
Clicking on the Boolean doesn't give it key focus.
I use .llbs as a convenient way to package a set of related VIs.
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.
After many machinations, I came up with a version that works with multiple simultaneous VIs and also with multi-pane VIs.