Subject Re: [IBO] IB_CustomGrid.GetGridCol
Author Jason Wharton
How so?

Jason Wharton
CPS - Mesa AZ
http://www.ibobjects.com


----- Original Message -----
From: <guido.klapperich@...>
To: "IBObjects" <IBObjects@yahoogroups.com>
Sent: Sunday, March 10, 2002 3:19 PM
Subject: [IBO] IB_CustomGrid.GetGridCol


> I have discovered, that the TIB_CustomGrid.GetGridCol-Function doesn't
> work correctly, when you set some fields in the dataset visible to
> false. Here is the current function:
>
> function TIB_CustomGrid.GetGridCol( ACol: integer ): integer;
> begin
> Result := ACol + FixedCols - FixedDataCols;
> end;
>
> But when one or more fields before ACol are invisible, then you get an
> incorrect result.
>
>
> Guido