bordercolor of buttons

Mike Kerner MikeKerner at roadrunner.com
Wed Jun 9 10:58:20 EDT 2021


i wish we had tmc3

On Wed, Jun 9, 2021 at 10:09 AM Klaus major-k via use-livecode <
use-livecode at lists.runrev.com> wrote:

> Hi all,
>
> looks like there is a (related) report already:
> <https://quality.livecode.com/show_bug.cgi?id=11902>
>
> > Am 09.06.2021 um 14:49 schrieb Sean Cole (Pi) via use-livecode <
> use-livecode at lists.runrev.com>:
> >
> > Hi Klaus,
> >
> > Very much a 'feature' in heavy inverted commas. I've tested as far back
> as
> > 5.0.2 and it has ALWAYS been this way. Round rect button borders are set
> > using the forecolor, not the border colour. If this were a 'bug' I'm sure
> > it would have been noted as such somewhere in the quality sub-site. It is
> > not a 'feature' that seems intuitive or even correct, but it is the way
> it
> > has always operated until now. Some 'incorrect' functionality just has to
> > remain the same to maintain the status quo. I, for one, however, would
> > prefer it if it were made consistent with other buttons. It is not clear
> > 'why' it is the way it is.
> >
> > Sean
> >
> > On Wed, 9 Jun 2021 at 09:09, Klaus major-k via use-livecode <
> > use-livecode at lists.runrev.com> wrote:
> >
> >> Hi Paul,
> >>
> >>> Am 09.06.2021 um 05:35 schrieb Paul Hibbert via use-livecode <
> >> use-livecode at lists.runrev.com>:
> >>>
> >>> Like Sean points out, this is caused by the “threeD” property being on.
> >>
> >> I was not talking about a button with its 3D is ON!
> >> Is nobody reading what I write?
> >>
> >> Create a button of type "roundrect"
> >> Uncheck 3D
> >> Set its BORDERCOLOR
> >> No change in bordercolor
> >>
> >> Switch that buttons STYLE to "rectangle"
> >> Et voila, now we can see the bordercolor!
> >>
> >> Switch STYLE back to "roundrect" and if we now change the
> FOREGROUNDCOLOR
> >> that will also affect the BORDER.
> >>
> >> I do not need a workaround, I just want to know if this is a bug or
> >> feature!
> >>
> >>> ...
> >>> I totally agree that setting the "Border Color" Property would be much
> >> easier though.
> >>
> >> So you also think this is not working as exspected, right? 8-)
> >>
> >>> Paul
> >>
> >>>
> >>>> On 7Jun, 2021, at 7:53 AM, ELS Prothero via use-livecode <
> >> use-livecode at 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 at lists.runrev.com> wrote:
> >>>>>
> >>>>> Hi Sean,
> >>>>>
> >>>>>> Am 06.06.2021 um 23:40 schrieb Sean Cole (Pi) via use-livecode <
> >> use-livecode at 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 at 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....
>
> Best
>
> Klaus
>
> --
> Klaus Major
> https://www.major-k.de
> https://www.major-k.de/bass
> klaus at major-k.de
>
>
> _______________________________________________
> 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
>


-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."



More information about the use-livecode mailing list