Subject | IB_CustomGrid.GetGridCol |
---|---|
Author | guido.klapperich@t-online.de |
Post date | 2002-03-10T22:19:44Z |
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
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