Problem: 1381438
Title: (TGridView >32K) Check max number of rows and cols allowed before insertion.
Received: Aug 22 1996 2:58PM
(TGridView::) InsColLast(23000000, 150);]The fColWidths->fTotal becomes negative in TGridView. The result is that nothing is drawn on window.
The same problem exists on large number of rows.
if true (or noErr), insertion is successful, if false (or error code), insertion is falied.Added range check. Added bool function result to all the Insxxx methods of TGridView and descendents.Ê
1. Range check is only enabled if qDebugMsg is defined to 1
2. Total can be out of range if height of row or width of column is very big. You can check row number or column number.