In index 0 I have static values in program. Problem is that its enter values in columns that are not used now. And don't calculate values for rows 10 and 11. Please run the demo.
-------- Оригинално писмо -------- От: Jürgen Hestermann Относно: Re: [Lazarus] TStringGrid and array До: Lazarus mailing list Изпратено на: Сряда, 2013, Февруари 6 19:07:19 EET Am 2013-02-06 15:23, schrieb Kamen Ketev: > > sgW.Cells[j,i] := StrTest; > > Be aware that within sgW.Cells columns and rows start with index 0 and end with last_index-1. So the index number has to be one less than your selfdeclared arrays. -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
-- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
