一时找不到资料,请问我怎么得到RadioGroup中选中Radiobutton的名字
Radiobutton是通过RadioGroup1.Items加进的

解决方案 »

  1.   

    我也遇到了这个问题,开始没注意,放了四个RadioButton,结果发现只有一个能checked设置为true 。其实我是想把他们分为两组的,要有两个checked可以设置为true的!
      

  2.   

    RadioGroup1.Items.Strings[RadioGroup1.ItemIndex]
      

  3.   

    to lion_lh(xmanx) 
    RadioGroup1.Items.Strings[0]就为选中的名字吗?我去试试
      

  4.   

    procedure TForm1.Button2Click(Sender: TObject);
    begin
    showmessage(RadioGroup1.Items[RadioGroup1.Itemindex]);
    end;