![]() |
Challenge 8 - Drag n Drop - Printable Version +- Small Basic Forum (https://litdev.uk/mybb) +-- Forum: Small Basic (https://litdev.uk/mybb/forumdisplay.php?fid=1) +--- Forum: Challenges (https://litdev.uk/mybb/forumdisplay.php?fid=5) +--- Thread: Challenge 8 - Drag n Drop (/showthread.php?tid=149) |
Challenge 8 - Drag n Drop - litdev - 10-20-2024 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. RE: Challenge 8 - Drag n Drop - jrmrhrb00 - 10-20-2024 BZTW39.000 JR RE: Challenge 8 - Drag n Drop - Scout - 10-20-2024 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. ![]() Avoiding this would be the next challenge RE: Challenge 8 - Drag n Drop - jrmrhrb00 - 10-21-2024 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 RE: Challenge 8 - Drag n Drop - litdev - 10-23-2024 KCHP538.000 RE: Challenge 8 - Drag n Drop - jrmrhrb00 - 10-23-2024 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 RE: Challenge 8 - Drag n Drop - litdev - 10-24-2024 JR, This was just a solution to the challenge, nothing more, yes it would work better with a mouse. RE: Challenge 8 - Drag n Drop - jrmrhrb00 - 10-24-2024 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 |