?
Solved

what event should i use?

Posted on 2006-05-24
2
Medium Priority
?
196 Views
Last Modified: 2010-05-19
Hello,
after a user hitting "enter" in a textfield i wanna something happens.

so, what the event "clicking enter" called ? .. i tried the event "OnEnter" but that seems refers to the starting up for the textfireld, means when the user click it to write..

would u help me please to find the correct event?
0
Comment
Question by:moayyad
2 Comments
 
LVL 28

Accepted Solution

by:
2266180 earned 500 total points
ID: 16752240
try OnKeyPress ;)
procedure TForm1.Edit1KeyPress(Sender: TObject; var Key: Char);
begin
  if key=#13 then showmessage('enter');
end;
0
 

Author Comment

by:moayyad
ID: 16752788
thanQ u
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Loops Section Overview
Is your OST file inaccessible, Need to transfer OST file from one computer to another? Want to convert OST file to PST? If the answer to any of the above question is yes, then look no further. With the help of Stellar OST to PST Converter, you can e…
Suggested Courses
Course of the Month15 days, 13 hours left to enroll

850 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question