Prevent Stack Resizing

JB sundown at pacifier.com
Wed Oct 8 13:47:27 EDT 2014


Thank you, Bob.

John Balgenorth



On Oct 8, 2014, at 7:58 AM, Bob Sneidar <bobsneidar at iotecdigital.com> wrote:

> I was having a problem where I would reposition all the controls on a page (after showing hidden of course!) and each time I closed the stack and reopened it, it was a different size!!! Also my controls seemed to all have a mind of their own. 
> 
> After poking around a bit I discovered that I had select group controls disabled and was moving the objects inside the groups with the arrow keys, but NOT the groups themselves! This had the effect of moving some objects outside the boundaries of the groups to where they were not visible, and the stack would resize on open to accommodate those *hidden* objects. 
> 
> To fix this, I disabled lockLoc for each group, then clicked Edit Group, then once again, which has the effect of setting the group boundaries to encompass all the objects it contains. (I probably could have used the Fit Content buttons in the Size and Position tab of the group’s properties as well.) 
> 
> Now my stack sizes correctly. 
> 
> Bob S
> 
> 
> On Oct 6, 2014, at 12:32 , JB <sundown at pacifier.com> wrote:
> 
>> In the property inspector you can deselect the
>> LiveResizing option to prevent the user  from
>> being able to drag and resize a stack.
>> 
>> But this does not stop the stack from being resized
>> if a mac user clicks on the last button in the top left
>> corner of the window.  And the resizeStack message
>> is sent after the stack has been resized so you can’t
>> use it to prevent a stack from being resized.
>> 
>> Is it possible to prevent a stack from being resized it
>> a mac user clicks on the last button in the top left of
>> the stack window?
>> 
>> John Balgenorth
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
> 





More information about the use-livecode mailing list