Maybe you shouldn't use OnChange event. Probably you can use OnKeyDown event and there wait for specific key, let's say you are sending with F9...
procedure TForm1.Memo1KeyDown(Sender
Shift: TShiftState);
begin
if Key = VK_F9 then
begin
// your code here
// ...
end;
end;
Main Topics
Browse All Topics





by: ManiElanPosted on 2004-05-22 at 08:29:59ID: 11133364
An easy kill would be, keep a copy of the last send text and compare it with current one before send.