Moon Wizard
May 17th, 2009, 22:08
Has anybody figured out how to capture onTab events for numbercontrols?
Both string and number controls support tabbing, but only stringcontrol appears to allow the onTab event to be captured.
I have a window with fields that change depending on a radio button setting. This means that hard-coded tabtargets will not work for this case. I can capture the tab key on stringcontrols to allow dynamic tab targeting, but any numbercontrol breaks the system.
The other options I'm considering are to replace numbercontrols with stringcontrols (and try to handle fallout), or to try using subwindows for each radio option.
Thanks,
JPG
Both string and number controls support tabbing, but only stringcontrol appears to allow the onTab event to be captured.
I have a window with fields that change depending on a radio button setting. This means that hard-coded tabtargets will not work for this case. I can capture the tab key on stringcontrols to allow dynamic tab targeting, but any numbercontrol breaks the system.
The other options I'm considering are to replace numbercontrols with stringcontrols (and try to handle fallout), or to try using subwindows for each radio option.
Thanks,
JPG