Jump to content


Photo

[TRUCO DELPHI] Prevenir CTRL+DELETE en DBGrid.


  • Please log in to reply
No replies to this topic

#1 sir.dev.a.lot

sir.dev.a.lot

    Advanced Member

  • Miembros
  • PipPipPip
  • 545 posts
  • Location127.0.0.1

Posted 29 August 2016 - 08:19 PM

[TRUCO DELPHI] Prevenir CTRL+DELETE en DBGrid.


delphi
  1. procedure Form1.DBGrid1KeyDown
  2. (Sender: TObject; var Key: Word; Shift:TShiftState);
  3. begin
  4. if (Shift = [ssCtrl]) and (Key = VK_DELETE) then
  5. Key := 0; {ignorar}
  6. end;

Saludos!


  • 2




IP.Board spam blocked by CleanTalk.