Results 1 to 2 of 2

Thread: tab to option button

  1. #1

    Thread Starter
    Member
    Join Date
    Aug 1999
    Location
    Cookeville, Tn 38501
    Posts
    39

    Post

    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?

  2. #2
    Lively Member
    Join Date
    Jan 1999
    Posts
    81

    Post

    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width