Size restrictions when cloning or create a control in script
tore.nilsen at me.com
Mon Oct 2 10:15:01 EDT 2017
Thank you, I will report back to my students as well.
> 2. okt. 2017 kl. 15:40 skrev panagiotis merakos via use-livecode <use-livecode at lists.runrev.com>:
> Hi Tore,
> This is a bug, which was fixed in LC 9.0 DP-4:
> You can modify the file
> "/Contents/Toolset/libraries/revbackscriptlibrary.livecodescript" locally
> in LC 8.x if you want to back port this change.
> On Mon, Oct 2, 2017 at 2:32 PM, Tore Nilsen via use-livecode <
> use-livecode at lists.runrev.com> wrote:
>> One of my students have come across what may be a bug. When trying to
>> clone a control where width/height is less than 9, LiveCode reverts to
>> default sizes set in the preferences for that particular control. The same
>> happen if you try to create a new control by setting the with/height of the
>> templateControl to less than 9. I know it is possible to create/clone the
>> control after a lock screen command has been issued, change the sizes and
>> then issue an unlock screen command, but this seems unnecessary, especially
>> if you want to clone an existing control where the dimensions are already
>> set. After all, if a clone is identical to the original object, then it can
>> hardly be called a clone.
>> Should I file a bug report or is this something that should be considered
>> a feature?
>> Tore Nilsen
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
> 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