When posting code, please use code tags so that the code is readable. Go Advanced, select the formatted code and click '#'.

I'm not sure how many replies you're going to have asking a Delphi question in a c++ forum?