Group disappeared (was More about images)

Ken Norris (dialup) pixelbird at interisland.net
Sun Feb 9 16:30:01 EST 2003


**********
> Date: Sun, 9 Feb 2003 02:40:54 -0800 (PST)
> From: Jan Schenkel <janschenkel at yahoo.com>
> Subject: Re: Group disappeared (was More about images)

> First of all, try to see if the group is still there
> by using the Application Overview. It may just have
> run offscreen.
----------
OK, I'll go look.
----------
> If it's till there, try the following:
> set the rect of group "Foobar" to "100,100,200,200"
> set the hscroll of group "Foobar" to 0
> set the vscroll of group "Foobar" to 0
> And slowly rebuild from there.
----------
That's exactly what I did when I tried to reset the group's size. That's
when it went berserk, and then disappeared.
----------
> Also, to fix the little
> offsets you see:
> set the margins of group "Foobar" to 0
----------
Yes, I had done that in the dialog (and locked) before making the calls,
because the group came with 4 pixel margins on either side of the display.
---------- 
> At any rate, your script looks just fine to me, and
> ought to do the trick. Hopefully we can fix the last
> quirks for you :)
----------
Yes, it worked until I tried to reset the group's position when it
disappeared.
---------- 
> PS: I've had some strange effects when using groups as
> well, though I've never been able to pinpoint them : a
> group with a script that conrained the line 'start
> editing me' and would halt right there, claiming there
> was no such group.
----------
Maybe the engine got confused as to what the object "me" was. What would
happen if you defined it by the literal long name?

Ken N.




More information about the use-livecode mailing list