Tuesday, June 5, 2012

Success or something like it


So one of the major problems I was having was copying on screen items.  When copying them you can only do so if they are bitmaps.  And you can't assign properties ( or tags) to bitmaps.  Why?  I wish to the all mighty programming god I had an answer for that one. So after reading dozens of online articles that were no help whatsoever, (I think because its to simple of a problem).  I finally stumbled across a working method.  Though I still haven't tried it practically to see if there are any conflict with other event handlers.

It comes down to putting the bitmap in container.  Sort of like putting a frame on an image.  For those interested.  My original copy code....

http://pastebin.com/xkbyn5Na

And the container version.

http://pastebin.com/peJkVnNv

And that leads us to...



What more motivation do you need.

Daisy

No comments:

Post a Comment