New topic: Cannot assign value to graphics
<http://forums.realsoftware.com/viewtopic.php?t=46681> Page 1 of 1 [ 2 posts ] Previous topic | Next topic Author Message RichardF Post subject: Cannot assign value to graphicsPosted: Thu Jan 24, 2013 4:50 pm Joined: Tue Jun 22, 2010 1:27 pm Posts: 13 Back in 2010 I had a working code which used the following type of construction: g = image.graphics [manipulate g] image.graphics = g Now it throws a compilation error at the last line: Cannot assign a value to this property Something has changed in the compiler since 2010! but what? thanks, Richard Top timhare Post subject: Re: Cannot assign value to graphicsPosted: Thu Jan 24, 2013 4:52 pm Joined: Fri Jan 06, 2006 3:21 pm Posts: 12012 Location: Portland, OR USA That line was never necessary, but was tolerated by the compiler. Now it's an error. If you set g = image.graphics and manipulate g, you are changing the image. Remove the offending line. It does nothing. 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 rbforumnotifier@monkeybreadsoftware.de