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

2016-01-29 Thread Sannyasin Brahmanathaswami
On January 29, 2016 at 8:21:41 AM, Mark Waddingham (m...@livecode.com) wrote: BorderWidth works fine on graphics here - you set the showBorder to true, and set the borderWidth. You'll get the original shape inset by the borderWidth with the border drawn around it. An in

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

2016-01-29 Thread Mark Waddingham
On 2016-01-29 17:33, Roland Huettmann wrote: 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

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

2016-01-29 Thread Roland Huettmann
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 w

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

2016-01-29 Thread Mark Waddingham
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 visib

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

2016-01-29 Thread BNig
://runtime-revolution.278305.n4.nabble.com/Questions-Setting-the-borderWidth-lineSize-of-a-graphic-through-script-tp4700532p4700538.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ use-livecode mailing list use-livecode@lists.runrev

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

2016-01-29 Thread Roland Huettmann
Hello Scott Borderwidth or linesize are synonyms according to the Dictionary, and I tried all without success. I want to script the borderwidth (linesize) and it's appearance. It is a specific task drawing rectangles representing windows with frames where the "frames" are my border lines.And thos

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

2016-01-29 Thread Scott Rossi
Do you really want to adjust the border property instead of the lineSize / foreColor? set the lineSize of grc "XY" to 10 set the foreColor of grc "XY" to "red" Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 1/29/16, 3:01 AM, "use-livecode on behalf of Roland Huettmann"

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

2016-01-29 Thread Roland Huettmann
Using LC 7.1 / Windows 8.1 I am trying to find a way of setting the borderwidth and bordercolor of a newly created graphic through script. It does not work. But it is possible using the Property Inspector. The following instructions fail: on mouseUp set the borderwidth of graphic "XY" to 10