Setting visible of control within group to false

Ken Ray kray at sonsothunder.com
Sun Oct 2 20:39:16 CDT 2011


On Oct 2, 2011, at 7:25 PM, J. Landman Gay wrote:

> On 10/2/11 3:24 PM, James Hurley wrote:
>> Scott,
>> 
>> Thanks for your reply.
>> 
>> My mistake. It is not removed from the group. What happens is that
>> the dimensions of the group change when an outside control is made
>> invisible.
> 
> That's the default behavior, where a group resizes to accomodate its objects. You can set the group's boundingrect property to prevent the resizing.

I think you can also set the lockLocation of the group to true to prevent it's resizing as well.

Ken Ray
Sons of Thunder Software, Inc.
Email: kray at sonsothunder.com
Web Site: http://www.sonsothunder.com/	



More information about the use-livecode mailing list