Subject | Re: IB_Grid |
---|---|
Author | benmarron <colletb@marronniers.be> |
Post date | 2003-01-17T08:10:42Z |
--- In IBObjects@yahoogroups.com, "paolopf <paolopf@l...>"
<paolopf@l...> wrote:
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.
<paolopf@l...> wrote:
> Hi list,one?
> is possible to prevent editing in an IB_Grid for all fields exept
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