Subject | Re: [IBO] GetDisplayText... How does it work? |
---|---|
Author | Daniele Teti |
Post date | 2004-11-19T13:49:01Z |
Helen Borrie wrote:
[CUT]
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]
[CUT]
>You need to operate on the Row object to ensure that the timing is correctThanx Helen
>(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;
>
>
>
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]