Ver Mensaje Individual
  #2  
Antiguo 01-06-2007
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
Quizá funcione esto. Pon una componente ApplicationEvents en tu formulario y programas su evento OnMessage así:

Código Delphi [-]
procedure TForm1.ApplicationEvents1Message(var Msg: tagMSG; var Handled: Boolean);
begin
  if (Msg.message = WM_CHAR) and (Msg.wParam = VK_RETURN) and (Self.ActiveControl is TEdit) then
    Handled := true;
end;

// Saludos
Responder Con Cita