Two RadioGroups act like one

Please support our Pascal and Delphi advertiser: Programming Forums - DaniWeb Sister Site
Reply

Join Date: Oct 2007
Posts: 20
Reputation: bob on whidbey is an unknown quantity at this point 
Solved Threads: 0
bob on whidbey bob on whidbey is offline Offline
Newbie Poster

Two RadioGroups act like one

 
0
  #1
Jul 14th, 2008
I have two RadioGroups on my form, each with just two RadioButtons. When I click a button in one group, it turns off the "on" button in the other group. What could be causing this? I'm using D2007 with Vista.
Reply With Quote Quick reply to this message  
Join Date: Aug 2008
Posts: 5
Reputation: Motapa is an unknown quantity at this point 
Solved Threads: 0
Motapa Motapa is offline Offline
Newbie Poster

Re: Two RadioGroups act like one

 
0
  #2
Aug 15th, 2008
I you have the OnClick event for you radiogroups,check if it does not include the other radiogroup in your instructions, if not add a code on the acitive event of a form and set the itemIdex of each radiogroup and then on the OnClick event of each radiogroup set the other radiogroup index as desired, I hope this will solve your problem.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Other Threads in the Pascal and Delphi Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC