Clipboard copy

Post your Gambas programming questions here.
Post Reply
User avatar
cogier
Site Admin
Posts: 1125
Joined: Wednesday 21st September 2016 2:22pm
Location: Guernsey, Channel Islands

Clipboard copy

Post by cogier »

I am struggling with Clipboard.Copy(). I want to copy a picture in a PictureBox but I just get errors. I have tried several versions including: -
Clipboard.Copy(PictureBox1.Picture,"image/png")
Any ideas?
User avatar
Cedron
Posts: 156
Joined: Thursday 21st February 2019 5:02pm
Location: The Mitten State
Contact:

Re: Clipboard copy

Post by Cedron »

Try
    Clipboard.Copy(PictureBox1.Picture.Image)
.... and carry a big stick!
User avatar
cogier
Site Admin
Posts: 1125
Joined: Wednesday 21st September 2016 2:22pm
Location: Guernsey, Channel Islands

Re: Clipboard copy

Post by cogier »

Thanks Cedron, that sorted it. Have a look at the completed program here
Post Reply