Hi!
i'm developing an application using the TStringGrid to show some data and
store another...
but, when i made this in Delphi, i used hiden columns to store additional
data that I need...
and now, trying to port this into lazarus, i have a Range check exception...
for instance:
in delphi, i wrote:
// fGrid is TStringGrid
fgrid.Colcount:=4;
fgrid.Rowcount:=2;
fgrid.Cells[1,1]:='column 1';
fgrid.Cells[2,1]:='column 2';
fgrid.Cells[3,1]:='column 3';
fgrid.Cells[4,1]:='column 4: Hiden information';
And run without problems, storing all data ok.
And If i write later:
s:=fgrid.Cells[4,1];
i get 'column 4: Hide information'
that is OK!
but in lazarus, just here:
fgrid.Cells[4,1]:='column 4: Hide information';
I have and exception...
I understand that it's logical, but delphi allows me this kind of stuff...
why lazarus doesn't allow me this?
Mariano
20 años
Argentina
--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.385 / Virus Database: 268.5.2/329 - Release Date: 02/05/2006
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives