DBGrid! somente alterar tabela
07/07/2004
0
Janete
Posts
07/07/2004
Rômulo Barros
procedure TForm1.DBGrid1KeyPress(Sender: TObject; var Key: Char); begin If TDBGrid(Sender).DataSource.DataSet.State = dsinsert then abort; end;
07/07/2004
Janete
procedure TForm1.DBGrid1KeyPress(Sender: TObject; var Key: Char); begin If TDBGrid(Sender).DataSource.DataSet.State = dsinsert then abort; end;
O DataSource está no form pai e não no form q está o DBGrid, e agora como eu faço?
07/07/2004
Rômulo Barros
Pode deixar do jeito q falei anteriormente que irá funfar perfeitamente. :wink:
Clique aqui para fazer login e interagir na Comunidade :)