mje Posted July 9, 2014 Report Share Posted July 9, 2014 Hi everyone, Is there an easy way to allow controls to be tab-navigated across subpanels? If I have a dialog with SubPanel0 containing ControlA and ControlB, and SubPanel1 containing ControlC and ControlD, I'd like to enforce a circular navigation order of ControlA - ControlB - ControlC - ControlD as one may normally expect. I know I can do it programmatically, it just seems like there should be an easy way to do it without code. Something tells me I can't though. Quote Link to comment
eberaud Posted July 10, 2014 Report Share Posted July 10, 2014 I ran into the same issue and couldn't figure out how to to this, even programmatically. If you managed to do this programmatically, can you guide me through the way to achieve it? Thanks Quote Link to comment
mje Posted July 10, 2014 Author Report Share Posted July 10, 2014 If it turns out I need to manually do it, let's say it shall be pretty low on the list of priorities. I suspect it's a matter handling navigation manually and passing events around. Each embedded sub VI handles navigation across its controls internally, the exception being when reaching the beginning or end of its control list it instead passes the request up to the host VI, which will then delegate the event to the next or previous contained sub VI. Quote Link to comment
eberaud Posted July 10, 2014 Report Share Posted July 10, 2014 I agree that the effort doesn't seem to be proportionate to the gain... Quote Link to comment
mgunning Posted July 10, 2014 Report Share Posted July 10, 2014 (edited) Have a look here on the dark side for an example of how someone has done this sort of thing programatically. Edited July 10, 2014 by mgunning 1 Quote Link to comment
mje Posted July 11, 2014 Author Report Share Posted July 11, 2014 That's a great reference, thank you. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.