2010/5/2 Héctor Fiandor Rosario <[email protected]>: > But when he try to select a game with a lower number of row-columns, then it > display a message saying that Col=0 and Row=new last, is out of range. > > if somebody can help me, I will appreciate very much.
TStringGrid is zero-based. Aren't you maybe referencing a cell via RowCount (which is 1-based). Without some code (event handler causing the problem), it's hard to help. -- Regards, - Graeme - _______________________________________________ fpGUI - a cross-platform Free Pascal GUI toolkit http://opensoft.homeip.net/fpgui/ -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
