BuonGiorno a tutti!![]()
Devo chiudere una DBGrid alla pressione del tasto invio.
Come posso fare?
Ho già provato con questi 2 eventi ma niente:
codice:procedure TForm3.DBGRID3KeyDown(Sender: TObject; var Key: Word; Shift: TShiftState); begin if key = 13 then begin DBGrid3.Visible := False; end; end; procedure TForm3.DBGRID3KeyPress(Sender: TObject; var Key: Char); begin if Key= chr(13) then DBGrid3.Visible := False; end;

Rispondi quotando
Non sò usarlo il Debugger :master: Cmq non succedeva niente. Pigiavo invio ma non succedeva niente. Non sò il debugger cosa riportava....perkè non sò consultarlo
