New topic: Resize picture in imagewell
<http://forums.realsoftware.com/viewtopic.php?t=34346> Page 1 of 1 [ 1 post ] Previous topic | Next topic Author Message grechcj Post subject: Resize picture in imagewellPosted: Mon Jun 21, 2010 3:15 am Joined: Sun Feb 14, 2010 11:19 pm Posts: 20 I'm using a control array of ImageWells to display thumbnails of pictures which when clicked on, display a larger image in a canvas. Why not use canvas controls for the thumbnail images as well? Because I want to display a right click menu to add and delete the picture and the events for contextual menu construct and action wont fire on the canvas control when it doesn't contain a picture. All's working fine except I can only see the top corner of the picture in the ImageWell. I don't know how to resize the picture to fit the imagewell (50 x 50) dimensions like I can with a canvas because the imagewell doesn't have a paint method or graphics property. Am I using the wrong control to display the thumbnails? I was thinking of incorporating a drag and drop function to add pictures to thumbnails later on. Should I go back to canvas controls and add a default picture such as an icon with some text like "Drop picture here" or similar? At least then canvas will display my contextual menu on right click. Top Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending Page 1 of 1 [ 1 post ] -- 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]
