Problem: 1381417

Title: (TGridView >32K) ReadFields() should read "long" type of row and col numbers

Received: Aug 22 1996 1:34PM


In the TGridView::ReadFields, we should read a long type of row and column numbers. Else we can not set the row number and column into great than 32K from resource; of course, we need to modify respect TGridView resource fields to meet the feature.

In the file UGridView.cp

void TGridView::ReadFields(TStream* aStream)
{
...
    GridCoordinate numOfRows = aStream->ReadInteger(); //!!!
    GridCoordinate numOfCols = aStream->ReadInteger(); //!!!
...
}

This will also require Ad Lib to auto-upgrade old versions of the view during editing.