Subject Re: [IBO] Display partial rows in TIB_GRID
Author Aage Johansen
Calin Pirtea wrote:
<<
I've managed to do this cleanly without touching TCustomGrid.

For those interested, the changes are minimal:

procedure TIB_CustomGrid.SysDataChange( IB_Field: TIB_Column );
...

function TIB_CustomGrid.VisibleGridRows: longint;
...


The trick is to never allow the grid to stay on the partially visible row
because ClampInView will kick in and ruin everything. When you are on the
last row the number of visible rows is reduced if the last one is partially
visible. This way ClampInView will never change the grid row.
>>

Maybe Jason could consider this for inclusion in IBO (?)


--
Aage J.