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

[text-list] text-list scroller colors.

 [1/6] from: carl::cybercraft::co::nz at: 25-Mar-2005 20:28


How can you change the colors of the scroller in a text-list? Thanks in advance, -- Carl Read.

 [2/6] from: antonr:lexicon at: 26-Mar-2005 1:11


Good question. That is really not obvious. In fact, I'm noticing behaviour as yet strange to my eyes; before I see the changed color I have to do the following three lines: 1) view layout [tl: text-list data first system/words] 2) tl/sld/dragger/color: blue show tl 3) view layout [tl: text-list data first system/words] Anton.

 [3/6] from: carl:cybercraft at: 26-Mar-2005 10:33


On Saturday, 26-March-2005 at 1:11:39 Anton Rolls wrote,
>Good question. That is really not obvious. >In fact, I'm noticing behaviour as yet strange
<<quoted lines omitted: 3>>
>2) tl/sld/dragger/color: blue show tl >3) view layout [tl: text-list data first system/words]
That only changes the bar color, not the full scroller (including the arrows), which is easy to do with a normal scroller... view layout [scroller red blue] so why not with a text-list! -- Carl Read.

 [4/6] from: carl:cybercraft at: 26-Mar-2005 11:37


On Saturday, 26-March-2005 at 10:33:43 Carl Read wrote,
>On Saturday, 26-March-2005 at 1:11:39 Anton Rolls wrote, >>Good question. That is really not obvious.
<<quoted lines omitted: 8>>
>which is easy to do with a normal scroller... > view layout [scroller red blue]
Well, I'm getting close... view layout [ tl: text-list data first system/words button "sld/pane/1/color" 200 [tl/sld/pane/1/color: random 255.255.255 show tl] button "sld/color" 200 [tl/sld/color: random 255.255.255 show tl] button "sld/pane/2/effect/3" 200 [tl/sld/pane/2/effect/3: random 255.255.255 show tl] button "sld/pane/3/effect/3" 200 [tl/sld/pane/3/effect/3: random 255.255.255 show tl] ] That can change everything except the arrows' backgrounds. -- Carl Read.

 [5/6] from: carl:cybercraft at: 26-Mar-2005 14:21


On Saturday, 26-March-2005 at 10:33:43 Carl Read wrote,
>On Saturday, 26-March-2005 at 1:11:39 Anton Rolls wrote, >>Good question. That is really not obvious.
<<quoted lines omitted: 9>>
> view layout [scroller red blue] >so why not with a text-list!
OK, finally worked out a way to do it... view layout [ tl: text-list data first system/words do [ tl/sld/pane/1/color: red tl/sld/color: green tl/sld/pane/2/effect/3: tl/sld/pane/3/effect/3: blue tl/sld/pane/2/colors/1: tl/sld/pane/3/colors/1: yellow tl/sld/pane/2/colors/2: tl/sld/pane/3/colors/2: blue ] ] ! -- Carl Read.

 [6/6] from: antonr:lexicon at: 28-Mar-2005 23:36


You're right. Probably TEXT-LIST should have its MULTI/color function modified to accept more than two colours. (not if you use those particular colours though ;-) layout [text-list with [?? multi]] Anton.

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