|
-
Aug 20th, 2012, 12:46 AM
#1
Thread Starter
Member
Add a shape to a picture box at run time
I am trying to add a circle to a picture box at run time.
I tried the following , but I see no shape
Dim Shape5 As Shape
Set Shape5 = Controls.Add("vb.shape", "Myshape", Me)
Shape5.BackStyle = 1
Shape5.BackColor = vbRed
The picture box is named "Pbox2"
Thanks for your help
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|