Article

From:
To:
Harald Klomann
Subject:
Re: [IBO] GridColWidth
Yahoo Group:
IBObjects

Re: [IBO] GridColWidth

Harald Klomann schrieb:
Hi,

how can I check out, if a grids columns width is big enough
to display the entire text it has to display ?

Jason,

Additional question:

TIB_Grid is a subclass of TIB_CustomGrid which is a subclass of
TCustomGrid:

TCustomGrid has a property
ColWidths[Index: Longint]: Integer;

Where is this property in the IB_Grids???? It vanished....

I can determine how wide the text in a column is when moving with the
mouse over the grid, but I can not see how to find out how wide the
current column in the grid (where the mouse is moving over) is.

If the column size has not changed it seems to be the default width.
otherwise the width is in the FieldDisplayWidth-property of the
underlying query.

Luc.
FYI: Phrase searches are enclosed in either single or double quotes
 
 
Originally created by
Tamarack Associates
Sat, 11 May 2024 03:17:25 UTC
Copyright © 2009-2024
HREF Tools Corp.