Subject | RE: [IBO] F2 to Edit |
---|---|
Author | Alan McDonald |
Post date | 2006-10-05T08:22:52Z |
> > > > quite, but tell me... autoedit turned on.. what preciselyno reason why your method shouldn't work but IMHO, the use of IB_ controls
> > > > does F2 do other than nothing....if nothing prevents
> > > > overtyping, there is no need to hit F2 to begin is there?
> > >
> > > F2 is the only keyboard way to move the cursor into a
> > > particular position before you start typing (to insert or
> > > delete text etc). ie. Just like in a spreadsheet.
> > >
> > > One inconsistency with spreadsheets is that just typing
> > > into the cell adds on to the existing text rather than
> > > replacing what is already there.
> > >
> > > --
> > > Geoff Worboys
> >
> > fair enough - yes there are some little subtleties there.
> > Alan
> >
>
> I had similar issues with this grid control.
> Converting from a BDE app using TDBGrid controls I had full grid
> column control with most cells being drop-down lists of values taken
> from lookup tables.
>
> Driven by commercial need to get the job done rather than a purist
> need for perfection I ended up retaining the TDBGrid control but
> linking it to an IBO Query - the only way I could find to retain the
> F2 / Drop-down list functionality.
>
> For later releases, if there is a better way using IBO controls I
> would be glad to migrate fully.
>
> Are there any reasons why my approach should not work?
>
> George
with native IB_ datasets offers so much more over the old stuff that it's
well worth the conversion pain. The grid/dataset buffering and transaction
control (i.e. ablity to return to the current record inside the current grid
row (buffer) after a transaction refresh alone is just light years away from
any other control combination I have tested.
As for the behaviour you think you are missing.. I'm pretty sure that waht
we are talking about here is exactly the behaviour you want and it's very
do-able and very easily done.
Alan