On 1/25/12 12:17 AM, Pete wrote:
Hi Jacque,
Setting lockloc to true fixed it, thanks!  For some reason or other, I have
a hangup about that property - always seems like it's the wrong way round,
with "locked" meaning it will change dimensions and "not locked" meaning it
won't.

Think of it as "locked down", maybe that will help. It's locking the location, i.e., the rectangle, so it won't move.


My one remaining piece of the puzzle is to only have the scrollbars visible
when they are needed.  I'm guessing that I should use the resizeStack
message to check if the group needs the scrollbars or not....

The scrollbars should automatically go blank if the group fully encloses its contents, and draw the thumb if it doesn't. If you mean you want to remove them entirely, check the formattedwidth and formattedheight of the group, compare those to the width and height (the locked rect) and hide/show the scrollbars as needed.

--
Jacqueline Landman Gay         |     jac...@hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to