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" <use-livecode-boun...@lists.runrev.com on behalf of roland.huettm...@gmail.com> wrote: >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 > set the bordercolor of graphic "XY" to red >end mouseUp > >Strangely enough, when I am asking for the these property values (put the >borderwidth of graphic "XY") then it is the set value and will be 10 in >this case. It renders visually with 1 or 2, and the Property Inspector >gives a value of 2. > >But setting other properties such as background color etc. is working. > >Maybe I am overlooking something? > >Roland >_______________________________________________ >use-livecode mailing list >use-livecode@lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode