Hy,
How can I create a picturebox when the program is running? I tryed this but the picturebox didn't appear on my form. :
I also tryed a pictureboxarray but when I use pictureboxarray1.load(0) It say that :
There are no controls in this control array. loading an existing control requide an exiting control to clone
But I don't know what it mean.
Hope you can help me,
Thank you,
ComCrack
How can I create a picturebox when the program is running? I tryed this but the picturebox didn't appear on my form. :
Visual Basic:
Public Sub Continue_Champ()
Dim tempimage As New System.Windows.Forms.PictureBox
tempimage.Location = New System.Drawing.Point(Me.Width / 2, Me.Height / 2)
tempimage.Name = "Champ" & colone.Count
tempimage.Size = New System.Drawing.Size(88, 32)
tempimage.BackColor = System.Drawing.Color.FromArgb(CType(255, Byte), CType(128, Byte), CType(128, Byte))
tempimage.show
End Sub
I also tryed a pictureboxarray but when I use pictureboxarray1.load(0) It say that :
There are no controls in this control array. loading an existing control requide an exiting control to clone
But I don't know what it mean.
Hope you can help me,
Thank you,
ComCrack