Hi,It is possible to remove the highlighting of certain specific rows when hovering with the mouse in a grid according to the information entered in the row tag ?Best regards
Hi,Yes you are right, when I create a simple program with a WinGrid I do not have this highlight under the mouse. I'll try to see, in our program, what creates this highlight under the mouse. Maybe something in our app's style library.If I send you our style library, do you think you can find what creates this highlight?Thank you in advance
.5822.bdocStyle.txt
Hi, I found the prolem.
This is indeed from our style library which contains the following settings:
<style role = "GridRow"> <states> <state name = "Normal" backColor = "White" borderColor = "223, 231, 237" fontName = "Arial" fontSize = "8" backGradientStyle = "None" backHatchStyle = "None" /> <state name = "Selected" backColor = "254, 209, 112" foreColor = "Black" fontName = "Arial" imageBackgroundStyle = "Stretched" fontSize = "8" backColor2 = "250, 162, 25" backGradientStyle = "Vertical" /> <state name = "HotTracked" backColor = "250, 231, 191" fontName = "Arial" imageBackgroundStyle = "Stretched" fontSize = "8" backColor2 = "254, 196, 84" backGradientStyle = "Vertical" /> <state name = "Active" fontName = "Arial" fontSize = "8" /> <state name = "AlternateItem" backColor = "234, 243, 249" fontName = "Arial" fontSize = "8" backGradientStyle = "None" backHatchStyle = "None" /> </states> </style>
It is the setting of the "HotTracked" state that creates this highlight.Is it possible to remove this setting for a specific grid without touching our style library?
Hi,I solved my problem by creating a specific styleset where I removed the setting regarding row highlighting.I then called this styleSet from my grid to override the default style established by our style library and it now works fine.Thanks for your help