Subject | Re: [IBO] how to find what user has entered so far in a grid? |
---|---|
Author | Paul Hope |
Post date | 2002-06-11T14:45:11Z |
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
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 messagebe
> news:001f01c20e08$de449900$3202a8c0@pc1800...
> > Watch out overquoting and try TIB_Query.AfterInsert/AfterEdit which can
> > 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 orInterBase
> without the need for BDE, ODBC or any other layer.___________________________________________________________________________
>
> http://www.ibobjects.com - your IBO community resource for Tech Infopapers,
> keyword-searchable FAQ, community code contributions and more !
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
>