visitor (0 QPoints)
  • FR
  • EN
  • NL
  • DE
  • ES
315 experts, 1193 registered users, 1659 questions already answered
European Experts Exchange, the very best site for high-quality IT solutions

New Improved Search!

 


05/10/2011 1h30 : Steve Jobs is dead, the father of Apple ][ is gone, we are all orphaned.

Operating Systems :: Windows :: regarding grouping of radio buttons


By: FiatLink Belgium  Date: 11/10/2002 00:00:00  English  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 English  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 English  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

EContact
browser fav
page generated in 301.585200 milliseconds

Why Google AdSense ads ?

compteur
 Ranking-Hits PageRank for this page