Hi,
I would like to be able to set the KeyFocus to an XY graph so that I can capture KeyDown and KeyRepeat events from it in order to do various things (like move the cursors). But it seems impossible to give the graph KeyFocus -- if I set it to true and then read it right afterwards it returns false (see attached VI).
I know that the graph is composed of lots of other parts, so it might make sense to assign focus to one of them (like the cluster of buttons for cursor control). But I don't see any easy way of getting a reference to them to assign them key focus. Besides, I'd like to generically have this work even without the cursor palette showing.
The only thing I could think to do was to make some other object and assign it KeyFocus, but this seems like a ridiculous work around. Any other ideas?
Thanks in advance,
Eric