ResizeControl

Peter Haworth pete at mollysrevenge.com
Fri Dec 31 15:43:11 EST 2010


Thanks Mark.  I'm actually trying to achieve the opposite of that - I  
want to resize the group and have the controls within it resize  
appropriately.  But all seems to be working OK, the code I've written  
correctly resizes the the controls when I resize the group so no  
worries.  I was just surprised when I found that groups behave  
differently than other controls in this as far as resizeControl is  
concerned.  Maybe I should put a note in the dictionary entry.

Craig - I haven't tried putting the resizeControl at the card level,  
it's in the script of the group itself.  Like you, I had a beep in it  
just to check things out and found that it beeps continuously as I  
resized the group.

Pete Haworth

On Dec 31, 2010, at 12:12 PM, Mark Wieder wrote:

> Pete-
>
> Just a guess, but I think you're running into the fact that group will
> adjust to the position of its controls. So if you're moving a control
> around the group *is* getting resized along with it. You might try
> setting the lockmessages to true while you're moving a control and
> then back to false when you're done. See if that helps.
>
> -- 
> -Mark Wieder
> mwieder at ahsoftware.net
>
>
> _______________________________________________
> 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