Ver Mensaje Individual
  #6  
Antiguo 07-01-2009
Avatar de white_zombie
[white_zombie] white_zombie is offline
Miembro Premium
 
Registrado: nov 2005
Ubicación: Zaragoza - España
Posts: 187
Reputación: 19
white_zombie Va por buen camino
Como comenta el amigo MiKloSS seria algo asi:

Código Delphi [-]
procedure TForm1.FormShortCut(var Msg: TWMKey; var Handled: Boolean);
begin

if (msg.CharCode=VK_ESCAPE) and (msg.result=1)  then
  begin
    showmessage('Has presionado ESC');
  end
 else if (msg.CharCode=VK_F1) and (msg.result=1)     then
  begin
    showmessage('Has presionado F1');
  end;

end;

Un Saludo.
Responder Con Cita