S sqz Unregistered / Unconfirmed GUEST, unregistred user! 2003-04-08 #1 在memo中按回车键就表示换行<br>那这换行windows发送什么消息呢????<br>请教!!!!<br>
春 春意 Unregistered / Unconfirmed GUEST, unregistred user! 2003-04-08 #2 procedure TForm1.Button1Click(Sender: TObject);<br>begin<br> Memo1.Text := '';<br> Memo1.SetFocus;<br> PostMessage(Memo1.Handle, WM_KEYDOWN, VK_RETURN, 0);<br>end;
procedure TForm1.Button1Click(Sender: TObject);<br>begin<br> Memo1.Text := '';<br> Memo1.SetFocus;<br> PostMessage(Memo1.Handle, WM_KEYDOWN, VK_RETURN, 0);<br>end;