Subject Re: [IBO] IB_Grid settings
Author radevojvodic
Hi Alan,

I suppose you could leave Autoedit= False and then put an
IB_ActionEdit on the form and give it a ShortCut (F2 for example) and
you will get what you want.

Rade


--- In IBObjects@yahoogroups.com, "Alan McDonald" <alan@m...> wrote:
>
> Thanks Helen,
> I've spent the good part of the night on this with no joy.
>
> key settings:
> Datasource AutoEdit, AutoInsert= False;
> No matter what settings for prevent, navigation, search, search hotkey,
> showeditor, the grid remains locked from editing.
> If the datasource is set auto True, then many different combos of
the query
> properties will change slightly, the behaviour of the editing but
not allow
> editing to be switched on/off ONLY with F2 and not just start editing.
> There must be some other property which is conflicting.
> I don't have rowselect on... can't think of anything else..
> Alan
>
> > -----Original Message-----
> > From: IBObjects@yahoogroups.com [mailto:IBObjects@yahoogroups.com]On
> > Behalf Of Helen Borrie
> > Sent: Tuesday, 25 October 2005 11:30 PM
> > To: IBObjects@yahoogroups.com
> > Subject: RE: [IBO] IB_Grid settings
> >
> >
> > At 11:17 PM 25/10/2005 +1000, you wrote:
> > > >
> > > > I have a requestlive query attached to an IB_Grid with the
> > > > datasource set to
> > > > autoedit.
> > > > What settings are required to make the grid NOT automatically
> > allow edits,
> > > > but to respond to the navigate ngF2Edit option key?
> > > > I'm trying to safeguard accidental edits but I don't want to
> > chase myself
> > > > around in circles making the edit via menu option etc.
> > > > regards
> > > > Alan McDonald
> > > >
> > > >
> > >
> > >When gnF2ToggleEditor is set True.
> > >When any editing key is pressed (e.g. alpha keys in an alpha
> > field) in the
> > >grid, the key presses are appended automatically onto the end of
> > the field
> > >value.
> > >(nothing in the help file warned me about this)
> > >Anyway - I need a way for key presses to not edit at all... and
> > F2 to turn
> > >the dataset into dssedit.
> > >setting datasource to autoedit.False does not give F2 this
ability - it's
> > >never editable..
> > >hmmm, there must be a way...
> >
> > I don't have time to write a demo but, since you're playing with
> > this stuff
> > anyway, set AutoEdit and AutoInsert to False in the ib_datasource
> > and then
> > fiddle with the gn* settings until you get it doing what you want.
> >
> > Helen
> >
> >
> > >Alan
> > >
> > >
> > >
> > >
> > >
> > >_________________________________________________________________
> > __________
> > >IB Objects - direct, complete, custom connectivity to Firebird
> > or InterBase
> > > without the need for BDE, ODBC or any other layer.
> > >_________________________________________________________________
> > __________
> > >http://www.ibobjects.com - your IBO community resource for Tech
> > Info papers,
> > >keyword-searchable FAQ, community code contributions and more !
> > >Yahoo! Groups Links
> > >
> > >
> > >
> > >
> >
> >
> >
> >
> >
> > __________________________________________________________________
> > _________
> > IB Objects - direct, complete, custom connectivity to Firebird or
> > InterBase
> > without the need for BDE, ODBC or any other layer.
> > __________________________________________________________________
> > _________
> > http://www.ibobjects.com - your IBO community resource for Tech
> > Info papers,
> > keyword-searchable FAQ, community code contributions and more !
> >
> > Yahoo! Groups Links
> >
> >
> >
> >
> >
> >
> >
>