Harry Potter's magic button - a solution to another tricky group bug
J. Landman Gay
jacque at hyperactivesw.com
Tue Aug 3 15:08:47 CDT 2010
On 8/3/10 2:55 PM, Wilhelm Sanke wrote:
> YOU CANNOT SET THE LOC OF AN IMAGE IN A GROUP IF THE IMAGE IS SMALLER
> THAN THE GROUP.
> In the case of a smaller image the scriptline "set the loc of image "x"
> to the loc of group "y"" will place the image at the topleft corner of
> the group instead (unless the loc of the image is already exactly
> identical with the group loc).
I haven't looked at your stack yet but I just did a quick test with a
new stack, new group, and a small image inside the group, and I had no
trouble setting the image location anywhere from the message box,
including setting it to the loc of the group. Maybe there is something
else required for it to fail?
My group had 2 buttons and a small image, and the lockloc was set to
true. The group was the normal default size that encompassed the 2
buttons which served as "anchors" at the top left and lower right of the
Jacqueline Landman Gay | jacque at hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
More information about the use-livecode