Results 1 to 4 of 4

Thread: Radio Buttons

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Jan 2000
    Posts
    323
    What is the code used with Radio Buttons to determine which one is chosen?

    This would make sense to me, obviously wrong though.

    If Option2.Clicked = True Then
    Label1.Caption = "Option2"
    End If

    Thanks
    If you think education is expensive, try ignorance.

  2. #2
    Fanatic Member
    Join Date
    Oct 1999
    Location
    MA, USA
    Posts
    523
    Try
    Code:
        If Option1.Value = True Then
            MsgBox "Option 1 is selected"
        ElseIf Option2.Value = True Then
            MsgBox "Option 2 is selected"
        End If

  3. #3
    _______ HeSaidJoe's Avatar
    Join Date
    Jun 1999
    Location
    Canada
    Posts
    3,946

    Cool your way...

    If Option2.Clicked = True Then
    Label1.Caption = Option2.Caption
    End If

    "A myth is not the succession of individual images,
    but an integerated meaningful entity,
    reflecting a distinct aspect of the real world."

    ___ Adolf Jensen

  4. #4

    Thread Starter
    Hyperactive Member
    Join Date
    Jan 2000
    Posts
    323
    Thank you.
    If you think education is expensive, try ignorance.

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