Ver Mensaje Individual
  #2  
Antiguo 27-11-2003
Avatar de roman
roman roman is offline
Moderador
 
Registrado: may 2003
Ubicación: Ciudad de México
Posts: 20.269
Reputación: 10
roman Es un diamante en brutoroman Es un diamante en brutoroman Es un diamante en bruto
¡Vaya requerimientos raros!

Intenta esto: pon una componente TApplicationEvents en tu formulario y escribe el siguiente código para su evento OnMessage:

Código:
if (Msg.hwnd = Button1.Handle) and (Msg.WParam = VK_RETURN) then
  case Msg.message of
    WM_KEYDOWN:
      SendMessage(Button1.Handle, WM_LBUTTONDOWN, 0, 0);
    WM_KEYUP:
      ReleaseCapture;
end;
// Saludos
Responder Con Cita