Hi,

I need to create 39 images in Borland and set what will they do if you click on them.
It'd be really long time to create all these using classic method ( adding images, and setting OnClick option ).

But I figured out how to insert so many bitmaps:

TBitmap BmpMercedes[39];
int i=1,width=20;
char Name[6];
try{
for(i;i<3;++i){
Name[0]=i+48;
Name[1]='.';
Name[2]='b';
Name[3]='m';
Name[4]='p';
Name[5]='\0';
ShowMessage(Name);
BmpMercedes[i].LoadFromFile(Name);
Canvas->Draw(width,20,BmpMercedes);
width+=50;
}

}
catch(int e){};
}

But I have no clue how to make it "sensitive" on click?

Any possible way?
Thanks a lot.