Home » U++ Library support » U++ Widgets - General questions or Mixed problems » DropList color is the same when editable or not
DropList color is the same when editable or not [message #31924] |
Thu, 07 April 2011 18:33  |
 |
koldo
Messages: 3435 Registered: August 2008
|
Senior Veteran |
|
|
Hello Mirek
Now when DropList is not editable it has the same background color as if it is editable.
To solve this a possible way could be in method void MultiButton::Paint(Draw& w) to put this in line 412:
if(HasFocus()) {
paper = SColorHighlight();
text = SColorHighlightText();
} else if (!IsEditable()) // Added
paper = SColorFace(); // Added
else
paper = SColorPaper();
Best regards
IƱaki
|
|
|
 |
|
DropList color is the same when editable or not
By: koldo on Thu, 07 April 2011 18:33
|
 |
|
Re: DropList color is the same when editable or not
By: mirek on Sun, 17 April 2011 21:59
|
 |
|
Re: DropList color is the same when editable or not
By: rylek on Wed, 20 April 2011 13:56
|
 |
|
Re: DropList color is the same when editable or not
By: mirek on Thu, 21 April 2011 20:32
|
 |
|
Re: DropList color is the same when editable or not
By: jfranks on Wed, 10 February 2016 01:05
|
 |
|
Re: DropList color is the same when editable or not
By: mirek on Wed, 10 February 2016 18:11
|
 |
|
Re: DropList color is the same when editable or not
By: Klugier on Wed, 10 February 2016 19:46
|
 |
|
Re: DropList color is the same when editable or not
By: jfranks on Wed, 10 February 2016 20:11
|
 |
|
Re: DropList color is the same when editable or not
By: mirek on Fri, 26 February 2016 13:24
|
 |
|
Re: DropList color is the same when editable or not
By: jfranks on Fri, 26 February 2016 21:31
|
 |
|
Re: DropList color is the same when editable or not
By: mirek on Sun, 13 March 2016 19:27
|
 |
|
Re: DropList color is the same when editable or not
By: jfranks on Mon, 14 March 2016 16:11
|
 |
|
Re: DropList color is the same when editable or not
By: mirek on Mon, 14 March 2016 19:26
|
Goto Forum:
Current Time: Sat May 10 16:56:49 CEST 2025
Total time taken to generate the page: 0.01107 seconds
|