Like Sean points out, this is caused by the “threeD” property being on.
I don’t think it’s a bug, it’s just the nature of the beast, I seem to remember that the threeD effect is generated by pre-made graphics or images, although I may be totally wrong. It would be useful if this kind of info was in the dictionary, then we wouldn’t be forced to rely on ageing grey matter quite so much. Anyway, the way I have managed to overcome this in the past is to use an Inner Glow effect set to 1 or 2 pixels. You can also add a 1px Outer Glow for a more intense colour effect. You have to be aware that it is adding colour to grey, so it’s not perfect, but it does allow you to use some colour on the border of a standard button while keeping the rounded corners and threeD effect. I totally agree that setting the "Border Color" Property would be much easier though. Pau > On 7Jun, 2021, at 7:53 AM, ELS Prothero via use-livecode > <use-livecode@lists.runrev.com> wrote: > > Folks, > This issue also confused me recently when I was making an app for my own use. > It seems like an idiosyncrasy to me, even tho a pretty minor one that could > be mentioned in the dictionary. > Best, > Bill > > William Prothero > https://earthlearningsolutions.org > >> On Jun 7, 2021, at 7:30 AM, Klaus major-k via use-livecode >> <use-livecode@lists.runrev.com> wrote: >> >> Hi Sean, >> >>> Am 06.06.2021 um 23:40 schrieb Sean Cole (Pi) via use-livecode >>> <use-livecode@lists.runrev.com>: >>> >>> Klaus, >>> Forecolor IS the border color. It always has been for shapes including >>> circles, polygons and custom shapes. >> >> yes, but I was clearly referring to a button. >> >>> Buttons have a bordercolor property but only visible if 3d is off. >> >> AND if they are not "roundrect"! >> Then the BORDERCOLOR does nto work! >> It does if you switch to e.g. "rectangle". >> >> And that was puzzling me a bit. 8-) >> >>> Sean >>> >>>> On Sun, 6 Jun 2021 at 14:20, Klaus major-k via use-livecode < >>>> use-livecode@lists.runrev.com> wrote: >>>> >>>> Hi friends, >>>> >>>> bug or feature? >>>> >>>> I have a "roundrect" button and cannot set its BORDERCOLOR!? >>>> I have to set the FOREGROUNDCOLOR which also affects its BORDERCOLOR. >>>> >>>> This is not the case if I set the buttons type to e.g. "rectangle", then >>>> the before >>>> set BORDERCOLOR will be displayed. >>>> >>>> No hint in the dictionary about this, so but or feature? :-) >> >> Best >> >> Klaus >> >> -- >> Klaus Major >> https://www.major-k.de >> https://www.major-k.de/bass >> kl...@major-k.de >> >> >> _______________________________________________ >> 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 _______________________________________________ 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