IDE Grouping Woes! Help!
David Burgun
dburgun at dsl.pipex.com
Fri Apr 22 09:22:26 EDT 2005
Hi,
Have a Stack that used to comtain:
GroupX (layer order)
Graphic rect BoundingRect
Graphic rect G-1111
Graphic rect G-1112 etc.
The rectangles G-xxxx are all contained within BoundingRect.
I then added two buttons to the stack.
Ungrouped "GroupX" made the bounding rect smalled but shifting the
bottom so it was shorter, moved the buttons to within the Rect of
GroupX, regrouped and saved the Stack. Then the Group looked like
this:
GroupX (layer order)
Button "new"
Button "delete"
Graphic rect BoundingRect
Graphic rect G-1111
Graphic rect G-1112 etc.
All seemed fine.
Then I discover that some code doesn't work anymore! On further
investigation the preOpenStack and openStack handlers are not being
called. I then editing the card script to beep if openStack is
entered and put a breakpoint on the beep and hey presto I hit the
breakpoint and now everything works fine!
I close the stack, shutdown RunRev and re-load the stack. Now
"BoundingRect" is back to the size it was BEFORE I changed it BUT the
buttons are still there!
I if now attempt to change the Size of "BoundingRect" the IDE crashes!
Wisely I made a backup! I am fast learning the ways of RunRev and
it's ability to corrupt or lose stacks and always make a backup
before doing anything major.
What do I do now???
Thanks for any advice!
All the Best
Dave
More information about the use-livecode
mailing list