[Search for users]
[Overall Top Noters]
[List of all Conferences]
[Download this site]
| 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 | 
1387.0. "UIL Scale widget title color query !" by KERNEL::WOOD (Richard Wood - UK Workstation Support) Wed Sep 06 1989 12:40
    
    Question :-
    When you create a Scale widget in UIL and specify the background
    color, the widget does appear with that background color, however,
    the title string background color is not the same, it is the same
    as the ordinary window background. Why ?
    Is there a way in UIL of changing the color of a compound string?
    
    
    Widget definition :-
    
value
  colour_green	: color("darkgreen",foreground);
  scale_title   : compound_string ("Line Length");
object
    line_length : scale {
		arguments { x = 100;
				background_color = colour_green; 
			    y = 15;
			    title = scale_title;};
        callbacks {
            value_changed = procedure scale_value ();
            };
			};
end module;
    
    More info on request
    
    Thanks
    
    Rich    
    
| T.R | Title | User | Personal Name
 | Date | Lines | 
|---|
| 1387.1 | Foreground color... | GSRC::WEST | Varibles don't, Constants aren't | Wed Sep 06 1989 22:08 | 6 | 
|  | 
  I believe you want to set the foreground colour for the text.
					-=> Jim <=-
 |