Moving Focus using Tab key....

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rajeshnrh74
    New Member
    • Nov 2007
    • 4

    Moving Focus using Tab key....

    In a VB6 form I have 1 textbox, 2 option buttons & 1 command button.
    I want to move from one option button to other by pressing the Tab key. Help me out. This is customer requirement.
    Last edited by Killer42; Nov 29 '07, 12:45 AM.
  • Mohan Krishna
    New Member
    • Oct 2007
    • 115

    #2
    Originally posted by rajeshnrh74
    In vb6 form...
    Hi Rajesh!

    Why can't you take each non-group option in a frame each and try for now? And then make frame border as none. Just for now!

    ALL THE BEST!
    Last edited by Killer42; Nov 29 '07, 12:46 AM.

    Comment

    • lotus18
      Contributor
      • Nov 2007
      • 865

      #3
      Originally posted by rajeshnrh74
      In a VB6 form I have 1 textbox, 2 option buttons & 1 command button.
      I want to move from one option button to other by pressing the Tab key. Help me out. This is customer requirement.
      Hi rajeshnrh74

      I think you need to set their Tab Index property. The first object that is on focus should be =0, second object =1, and so on...

      Rey Sean

      Comment

      • Killer42
        Recognized Expert Expert
        • Oct 2006
        • 8429

        #4
        Originally posted by lotus18
        I think you need to set their Tab Index property. The first object that is on focus should be =0, second object =1, and so on...
        That just determines their order, not how they behave.

        I think Mohan had the right idea - put them in different frames.

        Comment

        Working...