PDA

Click to See Complete Forum and Search --> : tab to option button


teddie
Aug 11th, 1999, 07:35 AM
I have two option buttons on a frame, which were created inside of the frame. I have the tabindex of the frame set to 9, the first option to 10, and the second option to 11. However, tabbing through the form completely skips both options. How can I allow the user to tab to an option button and press enter to set its value to true?

BHostmeyer
Aug 12th, 1999, 10:05 PM
Well the frames were not ment to use the tab key but i can give you away around it. Run this code in the key down event on the form
if keyasscii = (tab) then

if fram1.setfocus = true then option1.setfocus

if option1.setfocus = true then option2.setfocus
end if

Hope this helps
Brooke Hostmeyer
Net Admin
Vijon Labs Inc.