[Lazarus] application with TStringGrids

Graeme Geldenhuys graemeg.lists at gmail.com
Sun May 2 10:21:10 CEST 2010


2010/5/2 Héctor Fiandor Rosario <hfiandor at infomed.sld.cu>:
> 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/




More information about the Lazarus mailing list