Re: How to assign alphabet and numeric like A1 or C5 to a stringGrid


Posted by Jean Claude Servaye on September 26, 2000 at 17:52:56:

In Reply to: How to assign alphabet and numeric like A1 or C5 to a stringGrid posted by Matsuyama on September 26, 2000 at 17:02:40:

: i noe how to assign juz alphabet..and juz numbers, but i dunno how to assign both together. Can anyone help? Thanks!


X := A1;
Cells[ord(X[1])-64,StrToInt(Copy(X,2,3))];

//This work for single letter and number 1..999



Related Articles and Replies: