Board index » cppbuilder » why radio group didnt work?

why radio group didnt work?

Hi, i dont get it, i placed a radio group control on
my form, but sometimes when i click on the
options one after another consecutively, it seems
to stop working, i mean the handler didnt fire, why?

thanks, annex.

 

Re:why radio group didnt work?


Are you inserting TRadioButton's or are you using the Items property of
TRadioGroup? If you are inserting, uh, uh, uh. You should use the Items
property of the TRadioGroup.

HTH
Mark

Re:why radio group didnt work?


I'm actually using the ItemIndex property, i have the onClick event call a
handler
with these codes:

 switch (RdgLevel->ItemIndex) {
  case 0 : maxNum = 10; break;
  case 1 : maxNum = 100; break;
  case 2 : maxNum = 1000; break;
  case 3 : maxNum = 10000; break;
  case 4 : maxNum = 100000; break;
  case 5 : maxNum = 100000; break;

 }

(other codes...)

thanks, annex.

--------------------
Mark L. Bartlett <mbart...@sound.net> wrote in message
news:3A8FDD89.22020DC3@sound.net...

Quote
> Are you inserting TRadioButton's or are you using the Items property of
> TRadioGroup? If you are inserting, uh, uh, uh. You should use the Items
> property of the TRadioGroup.

> HTH
> Mark

Other Threads