 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Randy Guest
|
Posted: Wed Nov 30, 2005 4:24 am Post subject: Placing multiple bitmaps on a form at runtime |
|
|
I want to place bitmaps in a matrix pattern on a form. I don't know how
big the matrix will be until runtime. Do I need to create a TImage for
each bitmap and position it appropriately on the form? If so, is it
possible to make a two dimensional array from TImage?
Thanks
|
|
| Back to top |
|
 |
Steve Aletto Guest
|
Posted: Wed Nov 30, 2005 9:01 am Post subject: Re: Placing multiple bitmaps on a form at runtime |
|
|
| Quote: | Do I need to create a TImage for each bitmap and position it
appropriately on the form?
|
It's one way, but placing TImages could be useful only if you
really need such a component. Another solution is to keep the
bitmaps in memory and paint them on the form's canvas through
Form->Canvas->Draw(x, y, bitmap).
| Quote: | If so, is it possible to make a two dimensional array from
TImage?
|
I think so, yes.
HTH,
Steve.
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|