Club Delphi  
    FTP   CCD     Buscar   Trucos   Trabajo   Foros

Retroceder   Foros Club Delphi > Principal > OOP
Registrarse FAQ Miembros Calendario Guía de estilo Temas de Hoy

Coloboración Paypal con ClubDelphi

 
 
Herramientas Buscar en Tema Desplegado
  #1  
Antiguo 11-09-2003
cisterpe cisterpe is offline
Miembro
 
Registrado: sep 2003
Posts: 75
Poder: 22
cisterpe Va por buen camino
Moverse por un formulario con la tecla enter

He sacado esto de la pagina de trucomania y no me funciona, no se si es que esta mal, o lo he interpretado mal

http://www.q3.nu/trucomania/truco.cgi?1&esp

procedure TPresu.FormKeyPress(Sender: TObject; var Key: Char);
begin
if (Key = #13) then { if it's an enter key }
if (ActiveControl is TEdit) then

begin
Key := #0; { eat enter key }
Perform(WM_NEXTDLGCTL, 0, 0); { move to next control }
end

end;

Muchas gracias soy muy novato y tengo muchas dudas
Responder Con Cita
 



Normas de Publicación
no Puedes crear nuevos temas
no Puedes responder a temas
no Puedes adjuntar archivos
no Puedes editar tus mensajes

El código vB está habilitado
Las caritas están habilitado
Código [IMG] está habilitado
Código HTML está deshabilitado
Saltar a Foro


La franja horaria es GMT +2. Ahora son las 04:41:03.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Traducción al castellano por el equipo de moderadores del Club Delphi
Copyright 1996-2007 Club Delphi