Ver Mensaje Individual
  #4  
Antiguo 10-06-2005
Avatar de ContraVeneno
ContraVeneno ContraVeneno is offline
Miembro
 
Registrado: may 2005
Ubicación: Torreón, México
Posts: 4.740
Reputación: 26
ContraVeneno Va por buen camino
Enter funcione como TAB

Pon la propiedad KeyPreview de tu Form a True

luego en la función KeyPrees de tu form has lo siguiente:
Código Delphi [-]
 
procedure TForm1.FormKeyPress(Sender: TObject; var Key: Char);
begin
inherited;
If Key = #13 Then begin
SelectNext(ActiveControl as tWinControl, True, True );
Key := #0;
end;
end;

Saludos

Última edición por ContraVeneno fecha: 30-06-2005 a las 15:55:52.
Responder Con Cita