Small Basic Forum

Full Version: Challenge 8 - Drag n Drop
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Make a Drag and Drop feature using the Mouse buttons to position a GraphicsWindow shape (Rectangle).

Extend it to rotate the shape when Shift key is down.
BZTW39.000

JR
Nice solution JR,
but it has a funny side effect.

If I press the Shift key 5 times, the lock function is activated and the rectangle doesn't stop rotating.  Smile

[attachment=140]

Avoiding this would be the next challenge
Scout,

Goto start and type in sticky keys. It will bring up the sticky keys window that shows a group of buttons. Turn off the top button.

JR
KCHP538.000
LitDev,

How about an explanation of how this is supposed to work. I did get it to rotate., but with a touchpad it's difficult. Hold the left button down, while moving it and hold the shift key down, Wow! Maybe with a mouse it works better. You put the blocks on top of each other then what? I don't get it!

JR
JR,

This was just a solution to the challenge, nothing more, yes it would work better with a mouse.
LitDev.

I was thinking there is more that you could do with the rectangles. Yeah, it was hard to get them to rotate with a touchpad. I did like the grid. I hadn't seen that before. I'm still playing around with it. Your programs are always so interesting. Always a lot to learn.

JR