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.
Center a dropped object on a grid
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
rumplestiltskin
- Posts: 229
- Joined: Wed Jun 21, 2006 7:33 pm
- Contact:
-
rumplestiltskin
- Posts: 229
- Joined: Wed Jun 21, 2006 7:33 pm
- Contact:
Re: Center a dropped object on a grid
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.
Barry
Barry
Re: Center a dropped object on a grid
So true. It's happened to me too, and sometimes it's something I answered myself years ago. 
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
