2010/7/13 Bogusław Brandys <bran...@o2.pl> > Hi > > I'd like to set TDBGrid when almost all columns except first are read- > only. So far so good - I have set them to read only and first column which > is boolean type has nice checkboxes. I have two little problems yet : when > scrolling with down arrow DBGrid tries to add empty row in the end of table > , and also when somebody press Ctrl+Delete he can delete a record from > dataset (I have TDBGrid connected to the TSQLQUery result). > > How to prevent those two little issues ? > > Check the Options property for those settings
Boguslaw > > -- > _______________________________________________ > Lazarus mailing list > Lazarus@lists.lazarus.freepascal.org > http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus > -- Frank Church ======================= http://devblog.brahmancreations.com
-- _______________________________________________ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus