Subject Re: [IBO] GetDisplayText... How does it work?
Author Daniele Teti
Helen Borrie wrote:
[CUT]

>You need to operate on the Row object to ensure that the timing is correct
>(and, of course, if there is no row, nothing happens, so you don't have to
>test its cardinality!). The one thing you do need to take care about, is
>not to cause it to be called when the dataset is not in a Prepared state.
>
>procedure TfrmMain.IB_GridBarzeGetDisplayText( Sender: TObject; ACol,
> ARow: Integer; var AString: string );
>begin
> with ARow do begin
> if ACol = 3 then
> AString := LeftStr(ByName('TESTO').AsString), 20);
>end;
>
>
>
Thanx Helen

But ARow is a Integer :-)

How I Can access to the "Row Object"?

--
Daniele Teti (tm)
Software Architect
http://dade2000.altervista.org
--



[Non-text portions of this message have been removed]