Subject Re: IB_Grid
Author benmarron <colletb@marronniers.be>
--- In IBObjects@yahoogroups.com, "paolopf <paolopf@l...>"
<paolopf@l...> wrote:
> Hi list,
> is possible to prevent editing in an IB_Grid for all fields exept
one?

Setting FieldsReadOnly property of TIB_Query do the job.

for example :

qryVisiteur.FieldsReadOnly.Add('NOM=FALSE');
qryVisiteur.FieldsReadOnly.Add('PRENOM=FALSE');
qryVisiteur.FieldsReadOnly.Add('SEXE=TRUE');

-->> Fields NOM and PRENOM are editable
-->> Field SEXE is not editable.

>
> Rgds
> Paolo Fenelli