Resizing a group's controls when the group is resized
iowahengst at mac.com
Sat May 10 11:54:15 EDT 2014
Check out: ResizeGroup by Bernd Niggemann on the LiveCode user samples… and
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.
> 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:
More information about the Use-livecode