Ver Mensaje Individual
  #4  
Antiguo 07-09-2004
Avatar de Pablo Carlos
Pablo Carlos Pablo Carlos is offline
Miembro
 
Registrado: jun 2004
Ubicación: Mendoza - Argentina
Posts: 270
Reputación: 20
Pablo Carlos Va por buen camino
Lo de Roman esta bien pero aporto algo...

Combinaciones de teclas
en el evento keypress
Código Delphi [-]
procedure TfrmCobranzaAsistente.DBGrid2KeyPress(Sender: TObject;
  var Key: Char);
var l_DatosPersonales_id : Longint;
begin
 if (Key = #2) then
 begin
donde reemplasas el 2 por algunas de la detalladas
108 l, 61 alt shif r, 62, 63 shif + ?,
13 enter, 27 esc, 35 shif + 3,
1 Ctrl + a, 2 ctrl + b, 3 ctrl + c, 4 ctrl + d
5 ctrl + e, 6 ctrl + f, 7 ctrl + g, 8 ctrl + h
9 ctrl + i, 10 ctrl + j, 11 ctrl +k, 12 ctrl + l
13 enter, 14 ctrl + n, 15 ctrl + o, 16 ctrl + p
17 ctrl + q, 18 ctrl + r, 19 ctrl + s, 20 ctrl + t
21 ctrl + u, 22 ctrl + v, 23 ctrl + w, 24 ctrl + x,
25 ctrl + y, 26 ctrl + z, 27 esc, 28 ctrl + ?, 29 ctrl + ],
30 ctrl + shif + 6, 31 crtl + -, 32 space, 33 shif + 1,
34 shif + 2, 35 shif + 3, 36 shif + 4, 37 shif + 5,
38 shif + 6, 39 ?, 40 shif + 8, 41 shif + 9, 42 shif + *,
43 shif + +, 44 coma, 45 guion -, 46 punto, 47 division, 48 0,
49 1, 50 2, 51 2, 52 4, 53 5, 54 6, 55 7, 56 8, 57 9,
60 y me canse de probar
No esta muy claro pero.... alli está
Saludos
__________________
Por qué todas las personas saben exactamente cómo debemos vivir nuestra vida, y nunca tienen idea de cómo deben vivir sus propias vidas.
Responder Con Cita