How to make background transparent
[Originally posted by GreenGiant]
I would like to know how Can I make a backgound transparent for Picture control?
I tried to use BackStyle Property ,but don't know how to use it.
Thanks for your time
Re:How to make background transparent
[Originally posted by Karlis]
Place Picture1 control on top of picture2 control
in a form.
Add the following code to the form load event
Private Sub Form_Load()
ÿ ÿ Picture1.AutoRedraw = True
ÿ ÿ Picture2.AutoRedraw = True
ÿ ÿ Picture2.PaintPicture Form1.Picture, 0, 0
ÿ ÿ Picture1.PaintPicture Picture2.Image, 0, 0, Picture1.Width, Picture1.Height,Picture1.Left,Picture1.Top, Picture1.Width,Picture1.Height
ÿ ÿ Picture1.Line (1, 1)-(Picture1.Width - 1, Picture1.Height - 1), , B
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center