[Lazarus] TDbGrid almost read-only ? :-)

Frank Church vfclists at gmail.com
Tue Jul 13 22:28:56 CEST 2010


2010/7/13 Bogusław Brandys <brandys at 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 at lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
>



-- 
Frank Church

=======================
http://devblog.brahmancreations.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20100713/7f292b40/attachment-0004.html>


More information about the Lazarus mailing list