Can anyone please tell me how to convert integers to Strings so that I can
display them in a StringGrid.
I'm sure it's very easy, but it's driving me mad!
Thanks,
Martin.
> Can anyone please tell me how to convert integers to Strings so that I can
> display them in a StringGrid.
> I'm sure it's very easy, but it's driving me mad!
int position = 123;
StringGrid1->Cells[2][3] = IntToStr ( position );
or
StringGrid1->Cells[2][3] = position;
or
AnsiString Pos = position;
StringGrid1->Cells[2][3] = Pos;
Hans.
Try this:
String S = IntToStr(5);
--
Nate
http://www.kkjz.org/music/
America's Jazz Station
RNLoc...@SPOOFattglobal.net
Martin.
"Hans Galema" <dontu...@dontusethis.nl> wrote in message
news:3fc6...@newsgroups.borland.com...