Title: | DECWINDOWS 26-JAN-89 to 29-NOV-90 |
Notice: | See 1639.0 for VMS V5.3 kit; 2043.0 for 5.4 IFT kit |
Moderator: | STAR::VATNE |
Created: | Mon Oct 30 1989 |
Last Modified: | Mon Dec 31 1990 |
Last Successful Update: | Fri Jun 06 1997 |
Number of topics: | 3726 |
Total number of notes: | 19516 |
I have a customer whose application is written in C using uil. He creates a scroll bar widget, specifying foreground/background colors in uil. He then uses setarg and setvalues to alter these colors. What he is seeing is that the slider does not change color. Is the correct behavior and can anyone explain why? Thanks in advance for any information bernie csc/cs
T.R | Title | User | Personal Name | Date | Lines |
---|---|---|---|---|---|
1355.1 | another example, any ideas? | VFOVAX::METCALF | Thu Dec 07 1989 11:22 | 15 | |
I'm inputting this for a resident, so bear with me if I'm not 100% correct in my explanation. It appears we are having a similar problem to .0. If a window and scroll bars are created separately and the colors are set it works fine. If you create a text widget and specify the options within the text widget, the scroll bar takes the session manager's default background color. It appears the same is happening with list box and maybe others as well. Is this a known problem and are there workarounds or solutions in the works? Thanks in advance. I'll pass along any results to the resident. He will be checking this over the weekend. Bruce | |||||
1355.2 | MELTIN::dick | Gvriel::Schoeller | Thu Dec 07 1989 12:06 | 10 | |
.0 sounds different from .1. .0s problem is that the slider color is a separate resource from foreground and background. .1 is expecting the text widget and list box to pass colors to their children. From UIL I don't know what happens. From Xrm (decw$xdefaults.dat) if you specify widget*foreground: or widget*background: they will propagate if you specify widget.foreground: or widget.background: they won't. From Xrm the resource for slider color is "slider". Dick | |||||
1355.3 | No trick, just broke | TOOLEY::B_WACKER | Thu Dec 07 1989 12:20 | 2 | |
Propagation of colors and other things is broken in the toolkit. There's a qar and maybe a fix around V3 timeframe??? |