+ Reply to Thread
Results 1 to 5 of 5

Linking option buttons in different group boxes

  1. #1
    Registered User
    Join Date
    07-03-2006
    Posts
    74

    Linking option buttons in different group boxes

    Hi guys & gals,

    I have a form that contains a group box with option buttons, and for clarity's sake, next to it another group box, also with option buttons. So, I can choose 1 option in one box and another option in the other box at the same time.

    I'm sure you heard me coming a mile away, but here it goes anyway:
    how can I link the two group boxes (and option buttons) so I would only be able to choose 1 option out of both boxes?

    Thanks for any feedback!
    Last edited by opopanax666; 07-03-2009 at 03:45 AM.
    "Colors fade, but dumb is forever" - Sally Solomon

  2. #2
    Registered User
    Join Date
    07-03-2008
    Location
    Hyderabad, India
    MS-Off Ver
    2003 and 2007
    Posts
    58

    Re: Linking option buttons in different group boxes

    Hi,

    Place the group of option buttons in different frame.

    For eg,
    Frame 1 :
    Option Button1
    Option Button2

    Frame 2:
    Option Button 3
    Option Button 4

    Regards,
    Salim

  3. #3
    Registered User
    Join Date
    07-03-2006
    Posts
    74

    Re: Linking option buttons in different group boxes

    Thanks for the reply, salimhudeen, but I guess I didn't explain the problem very well.

    Frame 1 in my form contains 7 option buttons, frame 2 contains 5 option buttons. How can I link both so that it's only possible to choose 1 from all 12 buttons, so effectively "linking" both frames to make 1 virtual frame.

  4. #4
    Registered User
    Join Date
    07-03-2008
    Location
    Hyderabad, India
    MS-Off Ver
    2003 and 2007
    Posts
    58

    Re: Linking option buttons in different group boxes

    Hi,

    One idea is remove frame.
    Then set GroupName property for each Option Button.
    The above 12 option buttons to make same group name.

  5. #5
    Registered User
    Join Date
    07-03-2006
    Posts
    74

    Re: Linking option buttons in different group boxes

    Thanks Salim, that did the trick!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1