Ver Mensaje Individual
  #2  
Antiguo 21-09-2004
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
Intenta esto en el evento OnKeyDown del DBGrid:

Código Delphi [-]
  if Key = VK_RIGHT then
  begin
    DBGrid1.Perform(WM_HSCROLL, SB_PAGERIGHT, 0);
    Key := 0;
  end
  else if Key = VK_LEFT then
  begin
    DBGrid1.Perform(WM_HSCROLL, SB_PAGELEFT, 0);
    Key := 0;
  end;

// Saludos
Responder Con Cita