How can I create a new image box using only code. And how can I add this new image box to an already existing array of image boxes?
Printable View
How can I create a new image box using only code. And how can I add this new image box to an already existing array of image boxes?
load picturebox(Index)
Where will this image box appear? Do I have to set the left,top?
VB Code:
imagebox(index).left = 400 imagebox(index).top = 200
Yes, you do have to set them.Quote:
Originally posted by Illiad
Where will this image box appear? Do I have to set the left,top?
VB Code:
imagebox(index).left = 400 imagebox(index).top = 200
You don't have to set the Top and Left, but if you don't the new image will have the same Top and Left as the original. You also may have already figured this out, but you have to set the Visible to True if you want to see the new image :)