IonicWind Software

IWBasic => General Questions => Topic started by: Andy on June 01, 2021, 02:20:41 AM

Title: Rotate a control
Post by: Andy on June 01, 2021, 02:20:41 AM
Well I'm taking it easy today but here's one I have wondered about for some time...

Let's start with a control, say a button, I wonder of there is a way to rotate it X number of degrees left / right etc?

Sapero posted an example in Ebasic to rotate a bitmap:

http://www.ionicwind.com/forums/index.php?topic=2697.msg22783#msg22783

I just wonder could this code be adapted to a control?
Maybe we could draw a rectangle, rotate that? and then lock a control to that rotated rectangle?

Just thinking out loud here...

Andy.
 :)