[Lazarus] StringGrid.loadFromCSVFile question

Bart bartjunk64 at gmail.com
Mon Jun 1 15:30:24 CEST 2015

On 6/1/15, Koenraad Lelong <lazarus2 at de-brouwerij.be> wrote:

> A few months ago I made an application that uses
> StringGrid.LoadFromCSVFile. This worked.
> Now, on a PC with a newer linux-OS, and a newer Lazarus/FPC, I try to
> work further on that application but now the application from the
> original sources crashes. It seems it can no longer automatically append
> lines to a stringgrid. Error : index out of range Cell[Col=0, Row=x].
> When I manually append lines (= in the IDE) the application can load
> some more lines, but crashes when the grid-lines are all used.

Please attach a sample program and sample .csv to demonstrate the problem.
Keep it as simple as possibe (1 grid, 1 button should suffice).


More information about the Lazarus mailing list