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
|