如何取得Memo的行和列

新建一個應用,在窗體Form1上添加兩個TLabel組件名爲Label1,Label2; 添加兩個TButton組件名爲Button1,Button2;添加一個TMemo組件名爲Memo1。 而後在代碼編輯器中添加如下代碼。   void __fastcall TForm1::Button1Click(TObject *Sender)   {   Label1→Caption=SendMessag
相關文章
相關標籤/搜索