Questions: Setting the borderWidth (lineSize) of a graphic through script

Roland Huettmann roland.huettmann at gmail.com
Fri Jan 29 11:33:33 EST 2016


Mark is right,

I tested again and it is obviously a documentation error.

Tested on Windows 8.1, LC 7.1 and LC 8.0 dp 13:

ShowBorder was set to true in all cases.
ThreeD must be set to false in the case of buttons, etc.

LineSize: Works exclusively on graphics, NOT on other objects

BorderWidth works on objects such as fields, buttons, etc. but NOT on
graphics.

According to Dictionary borderwWdth and lineSize are synonyms and even an
example is given which does not work.

I will file a little documentation error report.

Roland



On 29 January 2016 at 16:32, Mark Waddingham <mark at livecode.com> wrote:

> On 2016-01-29 16:05, BNig wrote:
>
>> I tried "set the borderwidth of grc "x" to y" on MacOSX 10.9.5 in LC 7.1
>> and
>> 8 DP13 and it did not work. However "set the lineSize of grc "x" to y" did
>> work.
>>
>
> The borderWidth property specifies the width of the border around the
> control - whether this is visible or not depends on the value of the
> showBorder property.
>
> The lineSize property is distinct and is specific to graphic objects - it
> sets the stroke width used to render the graphic's shape.
>
> Warmest Regards,
>
> Mark.
>
> --
> Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/
> LiveCode: Everyone can create apps
>
>
> _______________________________________________
> 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