Top Bottom Left Right

General 2018 General.2018 at
Sun Jun 24 16:04:55 EDT 2018

Klaus ,

At least I was not going mad ! , thanks.


-----Original Message-----
From: use-livecode [mailto:use-livecode-bounces at] On Behalf Of Klaus major-k via use-livecode
Sent: 24 June 2018 20:58
To: How to use LiveCode
Cc: Klaus major-k
Subject: Re: Top Bottom Left Right

Hi Cam,

> Am 24.06.2018 um 21:49 schrieb General 2018 via use-livecode <use-livecode at>:
> Hi ,
> If I use property inspector and tick "Resize Rect when setting property" and change top,bottom,left or right property the rect changes shape in its fixed location as expected.
> In runtime the rect does not resize but moves location by setting property top,bottom,left or right ?
> Have I missed something ?? or this a bug ??

nope, this is only a feature of the IDE! 8-)

If you need this functionality in your runtime you need to roll your own.
But it's just:
lock screen
put the loc of btn "xyz" int tOldLoc
## do your thing with width and height of this button
## which will affect also the LOC unfortunately!
set the loc of btn "xyz" to tOldLoc
unlock screen

> Regards
> Camm



Klaus Major
klaus at

use-livecode mailing list
use-livecode at
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

More information about the Use-livecode mailing list