C++ Builder中写入控件Items中TSrings类型数据的方法

来源:互联网 发布:婚纱照电子相册的软件 编辑:程序博客网 时间:2024/06/12 11:16
 if(StringList==NULL)
  StringList = new TStringList();

  StringList->Add("RD01");

  StringList->Add("RD02");




  if(RadioGroup_FOGType==NULL)
  RadioGroup_FOGType=new TRadioGroup();
  RadioGroup_FOGType->Items=StringList;
  RadioGroup_FOGType->ItemIndex=0;
0 0
原创粉丝点击