> On 1 Mar 2016, at 20:33, Tore Nilsen <[email protected]> wrote: > > It may not be the most elegant solution, but this works for me: > > on mouseUp > > put the rect widget "Chart" into tRect > > add left of this stack to item 1 of tRect > > add left of this stack to item 3 of tRect > > add top of this stack to item 2 of tRect > > add top of this stack to item 4 of tRect > > export snapshot from rect tRect to tVar as PNG > > put tVar into image "myImage" > > end mouseUp > > > Tore
This didn’t quite work correctly on my iMac there is a grey bar at the bottom of the image. I believe this is do with the height of the menubar? add left of this stack to item 1 of tRect add left of this stack to item 3 of tRect add top of this stack - 22 to item 2 of tRect add top of this stack - 22 to item 4 of tRect Thanks Terry _______________________________________________ use-livecode mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
