Grrr, the error apears again!!!
But I found my mistake: when my program starts sometimes it tries to read the firstline index, but sometimes it doesn't (depending on a value in the ini-file). The error appears when the grid has no rows, so there is no firstline index. Because the error rises before the form is showed i got the error that the form can't be created.
Now before i read the firstline index i check if there are any rows in the grid. If not i set the firstline index to -1.
Problem solved!
Edited by user
2014-04-27T13:26:13Z
|
Reason: Not specified