Shrinking an image to a button icon
JimCarwardine at OwnYourFuture-net.com
Tue Dec 23 18:16:36 CST 2003
Thanks, again, Jacque. One more niggling little thing I can't figure out...
When I shut down Rev and reopen it, the button icon I created reverts back
to it's original size, but cropped to the size of the button. I'm sure it's
because I'm storing the reference to the original pict, but what do I store
to indicate the new size? Jim
. on 12/23/03 2:20 PM, J. Landman Gay wrote:
> On 12/23/03 6:57 AM, Jim Carwardine wrote:
>> Hi Jacque... The window seemed to frame correctly but I got this message
>> when I executed the modified script. Looks fine to me...
>> executing at 8:53:05 AM
>> Type Object: can't set object property
>> Object Picture
>> Line set the width of cd 1 to the width of img "Palette Picture Graphic"
>> Hint 300
> Sorry, I had a think-o. Holiday madness. You can't resize individual
> cards, you can only resize whole stacks. So it should say:
> set the width of this stack to the width of img "Palette Picture Graphic"
> set the height of this stack to the height of img "Palette Picture
> Less eggnog next time, I promise.
OYF is... Highly resourceful people working together.
Own Your Future Consulting Services Limited,
1959 Upper Water Street, Suite 407, Halifax, Nova Scotia. B3J 3N2
Info Line: 902-823-2477, Phone: 902-823-2339. Fax: 902-823-2139
More information about the use-livecode