05-16-2012 12:03 PM
I have a numerical control (control mode hot) with a callback function. I want the user to enter the value then TAB to the next control. The TAB generates an event and the callback performs as expected, but the cursor does not advance to the next control in the tab order. It seems to advance to an arbitrary control in the tab order. How can I get the control focus to advance to the next control in the tab order, after completing the callback? Thanks.
05-16-2012 12:40 PM - edited 05-16-2012 12:44 PM
I see no way that the tab order logic is not honoured! Tabbing on a control will cause focus to pass to the next control in the tab order, provided that:
05-16-2012 01:06 PM
Thanks for the quick response. In the meantime I found that the callback was setting an active tab page - which of course changed the keyboard focus. Switched to ATTR_CTRL_INDEX and all is well. Thanks.