Hello
I am trying to create a new style for my software using the Appstyle application. I'd like to have the Ultragrid and the Ultracombo having the same behaviour, but I have a problem with the UltraCombo. When I select a row, this row gets a blue color and not the yellow one I've set in the properties (and this is the color of a selected row in the Ultragrid). I can't find a way to change the color of the selected row of Ultracombo, it always have the blue appearance.
In attach there is a screenshot, i hope it helps in understanding the problem.
For your info, I am using the 8.3 version of windows controls.
Claudio Di Flumeri
Hi Claudio,
There can be only one ActiveRow. This is the row that the input focus is currently on, and it's usually synchronized with the current position of the data in the CurrencyManager.
Selected are the rows, cells, or columns that the user has selected (highlighted). There can be more than one and they don't neccessarily have any relation to the active row. They are usually used for things like deleting rows or copying and pasting.
Hi Mike
Yes you were right, I had to set the color on the Active State and not on the Selected one.
Just another question: which is the difference between Active and Selected?
Thanks
It's impossible to say for certain, but my guess is that you might be mixing up the Active and Selected states of the UltraGridRow UIRole. Perhaps you are applying your orange color to the Active state and not the selected state or vice versa.