Subject RE: [IBO] ReadOnly and CanModify properties
Author Laurent GILBERT
Hi Harald,

You're right but the problem is that my tables are READONLY.

With TTable component, CanModify is false when dataset is READONLY.

With IBOject, CanModify always seems to be true.

The same problem appears with TDBNavigator.

Laurent


> -----Message d'origine-----
> De : Harald Klomann [mailto:nibler@...]
> Envoyé : jeu. 12 avril 2001 10:43
> À : IBObjects@yahoogroups.com
> Objet : Re: [IBO] ReadOnly and CanModify properties
>
>
> Harald Klomann wrote:
> >
> > Laurent GILBERT wrote:
> > >
> > > Hi Harald,
> > >
> > > Ok !!! It seems to work with standard DB components and some IP
> > > components (TwwDateTimePicker) but not with IP navigator tool bar.
> > > The CanModify is always true...
> > >
> > > Do you now why this property is true in my case ?
> > >
> > > Laurent.
> >
> > Sorry, I dont know the IP components.
> >
> > Harald
> >
>
> CanModify property is on the DataSet level, it is true when your
> dataset is updateable and the conditions are so, the from the view
> of the internal structures, the dataset could be modifyed.
>
> AutoEdit (on datasource level), tells whether the dataset is
> going into
> edit mode automatically, if the user try´s to enter values in
> the db-aware
> controls.
>
> If the user uses a navigator tool bar to enter edit mode, is
> has nothing to do
> with AutoEdit. If you don´t want, the user to be able to go
> in editMode, you have
> to disable the edit button on this control. How you do this
> in IP navigator bar,
> I don´t know.
>
> Harald
>
> ------------------------ Yahoo! Groups Sponsor
> ---------------------~-~>
> Find software faster. Search more than 20,000
> software solutions on KnowledgeStorm. Register
> now and get started.
> http://us.click.yahoo.com/kVJDAA/zMSCAA/Ig4EAA/P0AVlB/TM
> --------------------------------------------------------------
> -------_->
>
>
>
> Your use of Yahoo! Groups is subject to
> http://docs.yahoo.com/info/terms/
>
>
>


[Non-text portions of this message have been removed]