DelphinSoftware / vcl-styles-utils

Automatically exported from code.google.com/p/vcl-styles-utils
0 stars 0 forks source link

focus on an item receives the wrong color #109

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I use the vcl-styles-utils in three of my projects and have created my own 
style based on light.vsf. 

The only thing I did was to switch the SysColors parameter "clHighlight" from 
blue to clSilver. The rest is the same as in the light.vsf.

My problem is that the listview highlight is not clSilver but clWhite.

I don't no why or where the color is changing from clSilver to clWhite.

Original issue reported on code.google.com by sven.ter...@d-velop.de on 12 Feb 2015 at 12:59

Attachments:

GoogleCodeExporter commented 9 years ago
Can you please attach a sample project and the VCL Style which you are using?

Original comment by Rodrigo.Ruz.V@gmail.com on 12 Feb 2015 at 2:41

GoogleCodeExporter commented 9 years ago
This is the vcl-style.
If I use an other style (like metro...) the highlight is correct.

In my sample program it works. But in an other project, this bug appears.

Can you tell me the unit or function where the custom item-highlight is? 

Original comment by sven.ter...@d-velop.de on 12 Feb 2015 at 4:37

Attachments:

GoogleCodeExporter commented 9 years ago
I was now able to replicate the problem and to attach a sample project.

The problem appears when a TreeView on a second form has disabled styleelements.
The highlighting ist correct, when I add seFont, seClient and seBorder to 
TreeView styleements.

Original comment by sven.ter...@d-velop.de on 22 Feb 2015 at 11:29

Attachments:

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r305.

Original comment by ismspi...@gmail.com on 28 Feb 2015 at 4:35