Subject | TIB_Grid EditButton/FixedDataCols |
---|---|
Author | Boris Schlüszler |
Post date | 2002-03-10T18:01:51Z |
Hi there!
This is interesting.
On the former problem: my event-handler gives the looked-up data directly into
the query.
So the OnEditButtonClick-event looks something like:
procedure TGenBfForm.IB_GridBfPosEditButtonClick(Sender: TObject);
begin
if VTSuchen(Self, nil, id) then
IB_BfPos.FieldByName('WERT').AsInteger:=id;
end;
In a table/grid with FixedDataCols=0 the inplace editor shows up with the fresh
value.
If I set FixedDataCols to 1, in a grid with 2 columns the inplace editor keeps
empty and grid refreshed not before the cell is left.
Any ideas?
Regards,
Boris Schlüszler schrieb:
This is interesting.
On the former problem: my event-handler gives the looked-up data directly into
the query.
So the OnEditButtonClick-event looks something like:
procedure TGenBfForm.IB_GridBfPosEditButtonClick(Sender: TObject);
begin
if VTSuchen(Self, nil, id) then
IB_BfPos.FieldByName('WERT').AsInteger:=id;
end;
In a table/grid with FixedDataCols=0 the inplace editor shows up with the fresh
value.
If I set FixedDataCols to 1, in a grid with 2 columns the inplace editor keeps
empty and grid refreshed not before the cell is left.
Any ideas?
Regards,
Boris Schlüszler schrieb:
> Hello!
>
> In a TIB_Grid I have an EditButton linked to an edit-button-event.
> In the event-handler an ID is found.
> This ID should be set into the InplaceEditor of the grid.
> Howerver, I haven't found any access to it.
>
> How should this be performed.
>
> If I go on the query, the inplace edit keeps empty until posted and
> updated.
>
>
> ___________________________________________________________________________
> 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/