Resizing a group's controls when the group is resized

Randy Hengst iowahengst at mac.com
Sat May 10 11:54:15 EDT 2014


Hi Peter,

Check out:  ResizeGroup by Bernd Niggemann on the LiveCode user samples… and 

And:  http://forums.runrev.com/viewtopic.php?f=9&t=17614&p=102374#p102374

be well,
randy

On May 8, 2014, at 4:30 PM, Peter Haworth <pete at lcsql.com> wrote:

> I have a resizeControl handler for a group in which I've tried changing the
> height and width of the controls in the group but I can't get it to work
> correctly.  The lockLocation of the controls in the group is set true.
> 
> To narrow down the problem, I changed the resizeControl handler to have
> just one command in it:
> 
> set the width of field "Data" of me to (the width of me - the borderwidth
> of me)
> 
> When I drag the right handle of the group, it kinda works although the
> group handles move in a very jerky fashion until I let go the mouse.
> 
> However, if I try to change the height of the group by dragging on its
> bottom handle, the group gets wider not taller no matter whether I drag up
> or down!!
> 
> I feel like I'm missing something obvious, hopefully someone can tell me
> what it is.
> 
> Pete
> lcSQL Software <http://www.lcsql.com>
> Home of lcStackBrowser <http://www.lcsql.com/lcstackbrowser.html> and
> SQLiteAdmin <http://www.lcsql.com/sqliteadmin.html>
> _______________________________________________
> 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