Tabbing around a form

BlitzPlus Forums/BlitzPlus Programming/Tabbing around a form

Darkuni(Posted 2003) [#1]
Well, I've been beating my head against the wall, searching the forums ... with no luck.

What I have is a form with 4 boxes. Once you fill in a box, I'd like to be able to hit TAB to move to the next box.

Now, I've tried it all - I can capture KEYSTOKES in it, but I can't trap the TAB. You can't use the ASCII event handler, because that only works on the canvas.

I'm at wit's end with this one. Anyone offer up a little code? I appreciate it.


soja(Posted 2003) [#2]
Hi Shane,

Unfortunately, the only way to do this is through a hack -- it doesn't work as you might expect for EVERY control/gadget, and on some of them it beeps at you when you press TAB. (These are BlitzPlus limitations.) Hopefully we can get a better solution on upcoming versions.

Take a look at the examples here:
Forums/Beginners Area/B+: Use TAB to switch between text fields..?

Both Syntax Error's and my code approach the problem in a similar way, though in the implementation, each has its own twist.

Note that if anybody else has figured out a better way, we're all ears.