I am trying to develop an XControl based on a regular Labview String Control. I want an event to fire when certain keys are pressed (for example the arrow keys so I can check if scrolling other sibling controls is necessary). However, I can only get the Key Down event to fire if the VI containing the XControl is running (runtime). If the VI is in development mode (stopped) then no event fires. Compare this to the Mouse Down event which fires during both modes.
I have attached a stripped down version (as a zipped LV 8.2 project), which has 2 counters laid over the top of the string control. "Counter" counts any Key Down events, "Counter 2" counts any Mouse Down events.
I am curious if this is by-design, or a bug. Every other type of event fires during development mode (because really, the XControl Facade VI is in run mode the whole time).
The VI in the project also contains an ordinary text control with a similar Counter and event structure in the VI itself, this of course only works during runtime!