CodePudding user response:
Fyi:void __fastcall TForm1: : Button1Click (TObject * Sender)
{
Memo1 - & gt; Lines - & gt; The Clear ();
for(int i=0; I{
If (CheckListBox1 - & gt; Checked [I])
Memo1 - & gt; Lines - & gt; Add (CheckListBox1 - & gt; The Items - & gt; Strings [I]);
}
}
You use an AnsiString + + "\ n",