Is there a reverse video mode for text in fields?

Jeanne A. E. DeVoto jeanne at runrev.com
Fri Mar 14 23:53:01 EST 2003


At 5:46 PM -0800 3/14/03, Victor Eijkhout wrote:
>The man page for "textstyle" lists a couple of possibilities, but not
>inverse video. The keywords "inverse" and "reverse" don't seem to
>apply to text.


They don't. However, you can set the backgroundColor as well as the
foregroundColor for text chunks, so you can do something like this for a
reverse video effect:

  set the backgroundColor of word 3 of field "Stuff" to black
  set the textColor of word 3 of field "Stuff" to white

--
Jeanne A. E. DeVoto ~ jeanne at runrev.com
Runtime Revolution Limited - Software at the Speed of Thought
http://www.runrev.com/





More information about the use-livecode mailing list