I am trying to create a button that flips an image, I can flip it one way using paintpicture but can not work out now to flip it back again.
It must be easy?
Help!
Printable View
I am trying to create a button that flips an image, I can flip it one way using paintpicture but can not work out now to flip it back again.
It must be easy?
Help!
Read about BitBlt here.
The same method will flip it back.
Code:PaintPicture Picture1.Picture, Picture1.ScaleWidth, 0, Picture1.ScaleWidth * -1, Picture1.ScaleHeight