Subject | Re: [IBO] IB_Column.ReadOnly |
---|---|
Author | guido.klapperich@t-online.de |
Post date | 2001-02-13T03:57:23Z |
But why is it easier to allow changes to the PreventEditing-Property than to
the readOnly-Property ?
Guido
"Claudio Valderrama C." wrote:
the readOnly-Property ?
Guido
"Claudio Valderrama C." wrote:
> Because it's a reflection of FieldsReadOnly but in one direction only. You
> have to delete or insert the column's name in the dataset's FieldsReadOnly
> property. I agree that I would be a good idea to allow the TIB_Column's
> reflected properties to change the dataset's properties back, but remember
> that they can be defined at the TIB_Connection level, too, so it's not as
> easy.
>
> C.
>
> > -----Original Message-----
> > From: guido.klapperich@... [mailto:guido.klapperich@...]
> > Sent: Lunes 12 de Febrero de 2001 18:24
> >
> > What I'm trying to do, is to set a Column readonly at runtime.
> > PreventEditing
> > and PreventInserting work, but the ReadOnly-Property is readonly
> > and I don't see
> > why.
> >
> > Guido.
> >
> > Jason Wharton wrote:
> >
> > > Try ControlIsReadOnly, I forget exactly what it is you are
> > trying to do. In
> > > some cases I only want the controls read-only and not the
> > column itself...
> > >
> > > FWIW,
> > > Jason Wharton
> > > CPS - Mesa AZ
> > > http://www.ibobjects.com
> > >
> > > ----- Original Message -----
> > > From: <guido.klapperich@...>
> > > To: <IBObjects@yahoogroups.com>
> > > Sent: Monday, February 12, 2001 2:44 PM
> > > Subject: Re: [IBO] IB_Column.ReadOnly
> > >
> > > > Jason, ControlsReadOnly is a readOnly-Property too. Exists there no
> > > Property
> > > > to set a IB_Column ReadOnly at runtime ?
> > > >
> > > > Guido.
> > > >
> > > > Jason Wharton wrote:
> > > >
> > > > > ReadOnly is controlled by settings at the FieldsReadOnly
> > level. Use the
> > > > > ControlsReadOnly to toggle things at runtime.
> > > > >
> > > > > HTH,
> > > > > Jason Wharton
> > > > > CPS - Mesa AZ
> > > > > http://www.ibobjects.com
> > > > >
> > > > > ----- Original Message -----
> > > > > From: <guido.klapperich@...>
> > > > > To: "ibobjects@egroups.com" <IBObjects@yahoogroups.com>
> > > > > Sent: Saturday, February 10, 2001 12:18 PM
> > > > > Subject: [IBO] IB_Column.ReadOnly
> > > > >
> > > > > > When I try to set the ReadOnly-Property of a IB_Column,
> > Delphi says
> > > this
> > > > > > property is readonly, but the OH says nothing about it.
> > Is it a bug or
> > > > > > is it right ?
> > > > > > Is ReadOnly ReadOnly or is ReadOnly not ReadOnly, that's
> > the question
> > > > > > :-)
> > > > > >
> > > > > >
> > > > > > Guido
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > >
> >
> >
> >
> >
> >
> >
>