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

Confused again

 [1/3] from: kpeters:otaksoft at: 10-Aug-2007 23:01


Is someone out there who can explain why b) works and a) does not? Kai a) either flag [ butt/color: butt/user-data ] [ butt/user-data: butt/color butt/color: gray ] show butt b) either flag [ butt/text: butt/user-data ] [ butt/user-data: butt/text butt/text: "Passive" ] show butt

 [2/3] from: Izkata:Comcast at: 12-Aug-2007 0:02


On Fri, 2007-08-10 at 23:01 -0700, Kai Peters wrote:
> Is someone out there who can explain why b) works and a) does not? > > Kai > > a) either flag [ butt/color: butt/user-data ] [ butt/user-data: > butt/color butt/color: gray ] show butt > > b) either flag [ butt/text: butt/user-data ] [ butt/user-data: butt/text > butt/text: "Passive" ] show butt
face/color typically requires a color! value to display... So assuming butt is a face, if butt/user-data is not a color!, then butt would update strangely. But I can't say absolutely for certain without knowing more of the code.

 [3/3] from: santilli:gabriele:gmai:l at: 12-Aug-2007 10:37


2007/8/12, Izkata <Izkata-comcast.net>:
> face/color typically requires a color! value to display... So assuming > butt is a face, if butt/user-data is not a color!, then butt would > update strangely.
Nope, the problem is the feel/redraw function of button. it always resets face/color to one of the colors in face/colors. So for button you have to change the face/colors block instead. HTH, Gabriele.