Possible to convert ansistring to int? urgent! need assistance!!

Aug 26, 2008 at 4:54pm
okie basically i got this label which is to read the height of the image

i used

Label7->Caption= WindowsMediaPlayer1->ClientHeight;

i would like to use the Height for my "for loop"
such that

for(int y=1;y<height;y++)

{
so on and so forth
}

what should i do.

error message shows that cannot convert ansistring to int
Aug 26, 2008 at 5:54pm
Aim your documentation at SysUtils::StrToInt().

Enjoy!
Topic archived. No new replies allowed.