New topic: How to make images painted in canvas clickable
<http://forums.realsoftware.com/viewtopic.php?t=31407> Page 1 of 1 [ 2 posts ] Previous topic | Next topic Author Message Queenheaven Post subject: How to make images painted in canvas clickablePosted: Thu Dec 03, 2009 4:38 pm Joined: Tue Apr 24, 2007 4:13 am Posts: 279 Location: Italy Hello I have the need to load some images to a canvas and be able to link any image to an event which in this case is the opening of a window. I have found the way to add the images to the canvas but I am very confused about the best way to make those images clickable and how to determine their position in the canvas : the image are coming form a query. I read the double click example but I cant point out the correct approach to get what I need. Once the images are painted how do I can pass their position to the mousedown event? Any hint and help would be very appreciated! Rudy _________________ Fairytales of yesterday will grow but never die.... http://www.queenheaven.it Top timhare Post subject: Re: How to make images painted in canvas clickablePosted: Thu Dec 03, 2009 5:19 pm Joined: Fri Jan 06, 2006 3:21 pm Posts: 6882 Location: Portland, OR USA Quote:I have found the way to add the images to the canvas The answer will lie in how you did this. Since you didn't say, we can't guess. More details would be helpful. Top Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending Page 1 of 1 [ 2 posts ] -- Over 1500 classes with 29000 functions in one REALbasic plug-in collection. The Monkeybread Software Realbasic Plugin v9.3. http://www.monkeybreadsoftware.de/realbasic/plugins.shtml [email protected]
