Subject Re: [IBO] how to find what user has entered so far in a grid?
Author Paul Hope
Hundri

you can access what has been entered so far by the following inelegant
method

type TCrackGrid = class(TDrawGrid);
and in IB_GridOnKeyUp
if TCrackGrid(IB_Grid).InPlaceEditor<>nil then
TextSoFar = TCrackGrid(IB_Grid).InPlaceEditor.Text;

Regards
Paul

> ""Andreas Pohl"" <apohl@...> wrote in message
> news:001f01c20e08$de449900$3202a8c0@pc1800...
> > Watch out overquoting and try TIB_Query.AfterInsert/AfterEdit which can
be
> > assigned to same procedure. Would you like to set RO property of IBO
> > controls at runtime depending on a condition? Try this sample:
> >
>
> Unfortunately this doesn't work since I need to validate character by
> character. Afteredit fires just once for the whole dataset :-(
>
> Hundri
>
> P.S. Nice piece of code that, I'll be saving it somewhere.
>
>
>
>
>
>
>
>
>
___________________________________________________________________________
> 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 !
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
>