Page 2 of 2

Re: Center a dropped object on a grid

Posted: Tue Mar 13, 2018 7:52 pm
by rumplestiltskin
Jacque,

I altered your solution just a bit to return the ID of the graphic rather than a name. I now don't have to worry about naming the graphics as the ID is, of course, unique. It's also very fast.

Re: Center a dropped object on a grid

Posted: Mon Apr 20, 2026 4:22 am
by rumplestiltskin
You let enough time go by without practice and you forget what you've learned. When I taught coding for seniors, I said "Google is your friend" and, sure enough, tonight while I was trying to find a solution to my coding issue, Google returned this thread which I started over eight years ago. The solution was here just waiting for me. :D

Barry

Re: Center a dropped object on a grid

Posted: Mon Apr 20, 2026 7:05 pm
by jacque
So true. It's happened to me too, and sometimes it's something I answered myself years ago. 🙂