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

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

From: hallvard:ystad:helpinhand at: 13-Feb-2002 12:28

Dixit Romano Paolo Tenca (00.48 13.02.2002):
>Hi, Hallvard, > >It is hard-wired in the init field of the styles. It is not simple to change >it for many reasons (binding). Here it is an example: > >high-col: 163.223.220 >ly: layout [tl: text-list data ["a" "b"][]] >tl/iter/feel: make tl/iter/feel [ > redraw: func[f a i] bind [ > f/color: either find picked f/text [high-col] [slf/color] > ] in tl 'self >] >view ly
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.
>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