>>>How about RETURN 1 to move to the next object and RETURN -1 to move to the previous object?
>>
>>Never heard of this. I'm really weak on OOP, but controls are objects, right? So this would move the focus from one control to the next in tab order?
>
>Yup. It really isn't an OOP thing though. It works in Fox 2.x. You can do something like RETURN -4 to move back 4 objects or RETURN 6 to move forward 6 objects.
Sometimes it just doesn't behave as you'd expect it - it takes every radio button as a separate object for one... oops, it's a no-no word... Ahem, it takes every option button as a separate object (which it is) but doesn't take the optiongroup object (because it has no tab index) etc. Still, there's a nice way out of this for radio... you know. In optiongroup's valid it's simply
if going_up
return -this.value
else
return this.buttoncount-this.value+1
endif
The +1 at the end seems mandatory to me, but it misbehaves - it skips one object more than I wanted it to. Anyone know why?