Very noobish Visual Basic.net question.

Discussion in 'OT Technology' started by Caanon, Aug 29, 2004.

  1. Caanon

    Caanon OT Supporter

    Joined:
    Nov 16, 2003
    Messages:
    685
    Likes Received:
    0
    Have a beginning class...the textbooks are sold out at the moment and some of this wasn't covered yet. I'm trying to figure some of this stuff out ahead of time. I'm almost done with first program but I don't know how to do the very last part. I have 4 radio buttons and I need to make them accessible by the Keyboard.(instead of only mouse) How do I go about doing that?

    Thanks for any help.
     
  2. SLED

    SLED build an idiot proof device and someone else will

    Joined:
    Sep 20, 2001
    Messages:
    28,118
    Likes Received:
    0
    Location:
    AZ, like a bauce!
    look at the KeyDown or KeyUp events of your form. You can then capture the keys in that function and then select the appropriate radio button. One of the arguements to that event will contain the keys presses. (not able to look at exactly what that is right now, but you'll get the idea)
     
  3. 127.0.0.1

    127.0.0.1 New Member

    Joined:
    Sep 7, 2003
    Messages:
    9,310
    Likes Received:
    0
    Location:
    Fort Worth, Texas
    change the tab index?

    he is in the first week of a beginner class, they wont know how to capture click/key events yet.

    is it the hello world program?
     

Share This Page