Operating Systems :: Windows :: regarding grouping of radio buttons |
|||
| By: FiatLink |
Date: 11/10/2002 00:00:00 |
Points: 50 | Status: Answered Quality : Excellent |
|
hey, I have a set of two radio buttons and a set of two check boxes. I want to convert the the two check boxes to radio buttons. I am able to do that. But now its as if there is a set of 4 radio buttons and I can click only one of them at a time. I want to be able to click one among the First two as a set and one among the second 2 radio buttons. How can i go about this? The code is in C++ and am using the win/mfc. thanks |
|||
| By: VGR | Date: 11/10/2002 17:44:00 | Type : Answer |
|
| Sorry, I use Delphi so that problem I can not have 8-) the two sets of RB would be in two different RB containers and that's all. Anyway, I have suggestion : perhaps you can change de Parent property of two of your RBs so that They belong to an other container (TControl) than the other two ? HTH |
|||
| By: Mark_IV | Date: 16/10/2002 14:07:00 | Type : Comment |
|
| Assuming your using Visual studio. What you need to do is bring up the properties for the 1st radio button (Right click->Properties). Make sure the "group" checkbox is ticked. Make sure the 2nd radio button does not have this box ticked. On the third radio button (i.e first of the second group) make sure the "group" box is checked, and then on the 4th radio button make sure its not checked. Then Layout->Tab Order (or press ctrl-D), and you need to make sure that the radio buttons are in the correct order. i.e 1st radio button must have a lower number than the 2nd, 2nd lower than the 3rd, 3rd lower than the 4th. This should solve it for you. Mark |
|||
|
Do register to be able to answer |
|||
©2010 These pages are served without commercial sponsorship. (No popup ads, etc...). Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE.
Please DO link to this page!








