Subject Re: [IBO] Wrapping long titles - RowHeights[]
Author Helen Borrie (TeamIBO)
At 01:01 AM 17-08-02 +0000, you wrote:
>Other posters have referred to using something like...
> ItemsGrid->RowHeights[0] = 34;
>but I get an error...
> 'TCustomGrid::RowHeights' is not accessible
>with V4.2.Hi
>Has something changed?

Seemingly. RowHeights is a public property in Delphi 6 but protected in
Delphi 5. It would be a pretty simple change to add an IFDEF to the
TIB_CustomGrid component to raise RowHeights to public in D5.

Actually, the Delphi 6 help for this property is quite bizarre:
"Read RowHeights to determine the height of the cells in the row specified
by the Index parameter. An index of 0 refers to the first row. Set
RowWidths at runtime to change the height of an individual row.

TCustomGrid doesn't have a RowWidths property at *any* level of visibility....

Helen Borrie (TeamIBO Support)

** Please don't email your support questions privately **
Ask on the list and everyone benefits
Don't forget the IB Objects online FAQ - link from any page at