T.R | Title | User | Personal Name | Date | Lines |
---|
871.1 | I don't think so... | GSPMO::WEST | I'm just visiting this planet. | Fri Jun 02 1989 12:46 | 18 |
|
>>> Could anyone clarify whether it would be possible to have entries
>>> in a list box appearing in different colours.
If what I found out about fonts for list_box also applies to colors,
and I believe that it does, then the answer is NO.
I was told that the entries in the list box widget are actually GADGETS
which pretty much means that you can not modify their attributes.
If this is not correct then please say so, I too would like to be able
to do some things like this with list boxes.
-=> Jim <=-
|
871.2 | | LEOVAX::TREGGIARI | | Fri Jun 02 1989 13:19 | 11 |
| It is true that inside a ListBox is a menu with gadget children that you
cannot affect directly (at least in V1; I'm don't know if anything has
changed for V2). But you should be able to affect it *indirectly* via
XRM (i.e. an application defaults file or an decw$xdefaults.dat file).
You should be able to use lines such as:
listboxname*DwtMenu.font : fontname
listboxname*DwtMenu.foreground : red
Leo
|
871.3 | | DONQ::KENNEDY | | Mon Jun 05 1989 13:47 | 7 |
| If a ListBox is what appears when you click an option on the menu
bar, then take a look at the DecWindows Calendar. Click "OPTIONS"
and then click "MARK [->".
Keith
|
871.4 | ahem | CASEE::LACROIX | Gone with the wind | Mon Jun 05 1989 14:07 | 9 |
| > If a ListBox is what appears when you click an option on the menu
> bar, then take a look at the DecWindows Calendar. Click "OPTIONS"
> and then click "MARK [->".
What you see is just an ordinary pulldown menu with ordinary pushbutton
widgets, not a list box!
Denis.
|