Re: Setting visible of control within group to false

2011-10-03 Thread James Hurley
> > Message: 16 > Date: Sun, 02 Oct 2011 19:25:25 -0500 > From: "J. Landman Gay" > To: How to use LiveCode > Subject: Re: Setting visible of control within group to false > Message-ID: <4e8900f5.3010...@hyperactivesw.com> > Content-Type: text/

Re: Setting visible of control within group to false

2011-10-02 Thread Ken Ray
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. > > Th

Re: Setting visible of control within group to false

2011-10-02 Thread dunbarx
C 4.5.3. Craig Newman -Original Message- From: Scott Rossi To: LiveCode Mail List Sent: Sun, Oct 2, 2011 10:53 am Subject: Re: Setting visible of control within group to false Jim: Are you sure the control gets physically placed outside the group? Are you using any scripts to manipul

Re: Setting visible of control within group to false

2011-10-02 Thread J. Landman Gay
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.

Re: Setting visible of control within group to false

2011-10-02 Thread James Hurley
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. My script did something line this: --With the outside button invisible set the visible of button "myButton" to true --

Re: Setting visible of control within group to false

2011-10-02 Thread Scott Rossi
Jim: Are you sure the control gets physically placed outside the group? Are you using any scripts to manipulate object layers? Doing a quick test here with a single object in a group, I don't see your result (v4.6.4). The rect of a group does indeed "collapse" to encompass only its visible conte

Setting visible of control within group to false

2011-10-02 Thread James Hurley
Is this supposed to happen? When I set the visible of a control within a group to false, it is removed from the group. As a work-around I find that if I include a rectangle that physically encompasses everything in the group and THEN set the visible of a control within the rectangle to false,