TIP: Click on subject to list as thread! ANSI
echo: delphi
to: HELMUT KRAL
from: OLE ALMIND MORTENSEN
date: 1996-05-31 21:27:00
subject: Using Enter instead of Tab

Hello Helmut!
Wednesday May 29 1996, Helmut Kral wrote to Ole Almind Mortensen:
 OAM>> If the user is in a Edit-control, and presses Enter, then I want
 OAM>> the program to execute a procedure, or simulate a
 OAM>> buttonclick. Do you know how to do that, and is it possible??
 HK> have you tried the event 'KeyPressed'?
I have set Keypreview:=True;
And I have used
If Key = #13 Then
  Begin
    Key:=#0;
    PostMessage(Handle,Wm_?????,0,0);
  End;
But I want the program to execute the Procedure.
Kind regards
Ole
... Try out Check210.Zip & Fm091.Zip
--- GoldED/386 3.00.Alpha1+ /FrontDoor 2.12
(2:237/10.150)
---------------
* Origin: P5 100, 32Mb/2Gb, LBP-4u, SB16, 4x CD, 28K8, 800Mb Ta

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.