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

[REBOL] Re: colour of text-list/picked

From: rotenca::telvia::it at: 13-Feb-2002 16:54

Hi Hallvard,
>Thanks. I will be changing the highlight colour several times in several
text-lists, so re-implementing the 'feel for each change seems a bit... unneccessary. But it'll do for now. For a more general change, try this patch: context [ high-col: 130.130.130 if svv/vid-styles/text-list/init/75/4/6/1 = 240.240.50 [change svv/vid-styles/text-list/init/75/4/6 'high-col] ] the 'if is here for compatibility problems and future changes of the text-list style. In svv/vid-colors there are some colors used by Vid. You could use one of them. To make the color value relative to the single text-list you could define the high-col in the text-list object: view layout [ tl1: text-list data ["a" "b"] ;use the default value tl2: text-list data ["c" "d"] with [high-col: 0.200.0] ] 'high-col will be automagically bound to the text-list object by Layout. --- Ciao Romano
>P.S. If you don't know it, try AnaMonitor to look in the vid objects.
Oh, I do know it. I use it a lot. ~H