Foros Club Delphi

Foros Club Delphi (https://www.clubdelphi.com/foros/index.php)
-   OOP (https://www.clubdelphi.com/foros/forumdisplay.php?f=5)
-   -   Funcion del tabulador con otra tecla (https://www.clubdelphi.com/foros/showthread.php?t=20512)

gryphus 18-04-2005 10:06:57

Funcion del tabulador con otra tecla
 
Necesito usar la funcion que hace el tabulador con la tecla +. Como puedo acerlo con delphi?

JavierB 18-04-2005 10:35:38

Hola gryphus

Puedes usar el evento OnKeyPress:
Código Delphi [-]
procedure TForm1.Edit1KeyPress(Sender: TObject; var Key: Char);
begin
  if Key='+' then
  begin
    Key:=#0;
    Perform(CM_DialogKey,VK_TAB,0);
  end
end;
Saludos, :adios:

gryphus 18-04-2005 11:00:44

Thanks!!! ;)
 
Gracias, soy novatillo y aun toy en aprendizaje...
Gracias otra vez... :)


La franja horaria es GMT +2. Ahora son las 03:28:45.

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