problems with grouped images

Wilhelm Sanke sanke at hrz.uni-kassel.de
Sun Apr 22 14:42:02 EDT 2007


1. For some reason I have grouped an image where the group as the owner 
has a locked (fixed) rectangle.

Imported images - by setting the filename of the one image - can be of 
different size and larger or smaller than the group rect. I want the 
imported image to be centered, i.e. its loc set to the loc of the group 
(which has scrollbars to move a larger image if necessary after importing).

"set the loc of image "one" to the loc of group "imagegroup"".

This works for images larger than the group rect, however, when the 
image is smaller the image is placed with its topleft near to the 
topleft of the group with a distance of 4 pixels. Using the message box 
to reset the loc to the loc of the group has no effect, but

"move image "one" to the loc of group "imagegroup""

works.

Has anybody seen that, too? This seems to be a bug.

2. Is there a possibility to draw graphics on a grouped image while it 
is grouped?

If you use the paint tools, graphics are drawn, but in a new image. If 
you script the drawing - using e.g. "choose rectangle tool" and "drag 
from x,y to x2,y2" - nothing happens at all, even if you before "select" 
the grouped image.

If there are other non-grouped images present, the topmost will receive 
the dragging command.

Any ideas for a third way to draw graphics on a grouped image?

Regards,

Wilhelm Sanke
<http://www.sanke.org/MetaMedia>




More information about the use-livecode mailing list