[ALLY] Some color problems
From: d4marcus::dtek::chalmers::se at: 12-Apr-2001 19:40
In the old View beta, you were able to update colors like this:
view layout [b: button "New color" [b/color: random 255.255.255 show b]]
Seems I'm unable to get button colors updated. It is indeed set:
>> b/color
== 214.70.206
but show doesn't update it. Setting colors directly is not a problem:
view layout [button b/color]
One would hope at this point that only button is a problem. And indeed:
view layout [t1: area "Hello!" col: button "" 20x20 [
c0: request-color/color col/color
if c0 [(col/color: t1/font/color: c0) show [col t1]]]]
seems to work fine. But I've got another function where it doesn't even
though the code is exactly the same (and there's a bunch of other weird
things going on there).
Marcus
------------------------------------
If you find that life spits on you
calm down and pretend it's raining