[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: highlighting text

In article <april-0902951451430001@april.ils.nwu.edu>, april@ils.nwu.edu
(David S. April) wrote:

> I need to have an editable text dialog item behave as follows:
>    Unselected areas - black text on white background
>    Selected area    - white text on red background
> How do I do what I need to do?

Use a te-view instead of an editable text dialog item.  This will allow
you to have multiple styles (colors, fonts, etc.) in the same dialog
item.  You can shadow the methods for selecting text and make them change
the color of the text appropriately.  At least you should be able to.