Hello,i set the UI-role / Base.Background to 'black'. In the grid every column takes the row-color, except the comboeditor (collapsed, state normal). If i select the row, the comboeditor gets the color of the row.
If i set UI-role / Base / ValueListItem.Background manually, i'm missing ReadOnly state. I got a ComboEditor inside an UltraGrid. Some activated, some not. (I prefer column Activation.NoEdit / AllowEdit, but i could do Activation.Disabled too.)
I tried, set 'All components' resolution order to ControlThenApplication and changed the color of the editor and its valuelist manually in code. No effect.
GreetziA. Kits
Hello,
I recommend using the tooltip shortcuts in AppStylist to gain access to the component role settings and it's various state properties to change the Background color. This will be considered child UI Roles that around found by expanding the Base node on the tree to the left. Modifying the UI Base Roles could inadvertently change unwanted characteristics of all the controls, not just for the Combo you seek to make changes to.
At this time could you please clarify what you need styled? If you have any additional questions regarding this matter, please let me know.
Hi Michael,i'm onto a project, there is the whole application styled, and can be changed by different styles.As far i can see, the UI Base is modified to change all controls to the same color, and then modify some specific controls to be different (in some states). If i change the UI Base, a lot of controls changing unwanted. This would be a lot of work to look for and modify every single control, multiplied by each style.Is there any other solution possible?PS: If i wasnt clear: I want to set the readonly background of an UltraComboEditor inside an UltraGrid. (Every column takes the set readonly row-color, except the UltraComboEditor/ValueListItem takes the UI Base backcolor.)GreetziA. Kits
There are 3 states visible. Normal, selected and readonly. Normal and selected works fine. Readonly works fine, except the UltraComboEditor/ValueListItem. Selected backcolor overwrites comboeditor but readonly does not?
Hi Michael,by using the UltraCombo we were able to implement the readonly color.Thank you for your supportiA. Kits
A ValueList has no ReadOnly state or property. The only option I see viable would be to use a UltraCombo instead, which uses the same API as the grid, which exposes a ReadOnly state for the grid cells (dropdown items) UI Role.
Let me know if you have any questions regarding this matter.