April 24, 2024, 11:38:22 PM

News:

IonicWind Snippit Manager 2.xx Released!  Install it on a memory stick and take it with you!  With or without IWBasic!


Rotate a control

Started by Andy, June 01, 2021, 02:20:41 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Andy

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.
 :)
Day after day, day after day, we struck nor breath nor motion, as idle as a painted ship upon a painted ocean.