1 (edited by alsu 2014-10-15 12:27:50)

Topic: save and clear the field using enter

sir is it possible save and clear the field at a same time using enter key?  any script
( for different datas add in a table grid using a single  field )

thanks...

Re: save and clear the field using enter

Yes, you should use event OnAfterClick, this event occurs after the action of button.
Example:

procedure Form1_Button1_OnAfterClick (Sender: string);
begin
     Form1.Edit1.Clear;                                             
end;
Dmitry.