Image woes
Scott Kane
scott at cdroo.com
Wed Nov 15 01:25:59 EST 2006
Hi folks,
I'm working on a quick and dirty little project and am using Trevor Devore's
"empDB" sample project as the basis. The problem I'm having is that the
stack I need to use must have tool buttons with images. Now the problem is
that Trevor uses the "last image" variable to retrieve the data from a
custom property. The result is that the first card in the stack loses the
plot and the image ends up taking over the entire card - instead of sizing
itself nicely inside the button. This only happens with the first card -
the subsequent cards size the image perfectly. I'd prefer to store the
image in the card in this instance but that's proving to be somewhat
difficult given the behaviour of the first card. Is there something I'm
missing with the "last Image" variable or indeed the custom property? I'm
not sure how to retrieve the data directly from the custom property and size
it, there doesn't seem to be anything attached to it that I can use to
resize. Of course I could be completely wrong on that.
TIA
Scott
More information about the use-livecode
mailing list