Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

font color of a button

 [1/4] from: m:koopmans2:chello:nl at: 19-Apr-2001 11:47


Hi, view layout [ button "text" font [ color: 0.0.0]] doesn't make "text" black as I'd expect? Thanks, Maarten

 [2/4] from: petr:krenzelok:trz:cz at: 19-Apr-2001 12:27


Maarten Koopmans wrote:
> Hi, > > view layout [ button "text" font [ color: 0.0.0]] > > doesn't make "text" black as I'd expect?
I am somehow confused too, but: view layout [ button "text" font [colors: [0.0.0 255.255.255]]] looking at vid source of button, it seems to me color is set during initialisation phase to first of 'colors block? init: [ edge: make edge [] font/color: first font/colors ;etc -pekr-

 [3/4] from: gjones05:mail:orion at: 19-Apr-2001 6:57


> Maarten Koopmans wrote: > > > Hi, > > > > view layout [ button "text" font [ color: 0.0.0]] > > > > doesn't make "text" black as I'd expect?
From: "Petr Krenzelok"
> I am somehow confused too, but: > view layout [ button "text" font [colors: [0.0.0 255.255.255]]]
<<quoted lines omitted: 5>>
> ;etc > -pekr-
It took a moment to realize that the only thing missing is an "s" at the end of the word "color". Try: view layout [ button "text" font [ colors: 0.0.0]] Hopefully will work. --Scott Jones

 [4/4] from: m::koopmans2::chello::nl at: 19-Apr-2001 18:17


Thanks, this works... --Maarten

Notes
  • Quoted lines have been omitted from some messages.
    View the message alone to see the lines that have been omitted