C1Combo: Trouble Changing BackColor and ForeColor

Posted by: pauld on 2 May 2018, 8:01 pm EST

  • Posted 2 May 2018, 8:01 pm EST

    We have a C1Combo bound to a BindingSource and, like our other controls, we want to change the BackColor and ForeColor depending on whether the control is ReadOnly, etc.

    NOTE 1: The ComboStyle is set to “DropdownList”.

    NOTE 2: We are trying to change the colors of the selected display value box.

    However, we are having trouble doing so.

    We can assign values to the properties, but the display value box appearance does not change.

    What could I be doing wrong?

    – Paul

  • Posted 3 May 2018, 5:13 am EST

    Hi Paul!

    I think that you are setting BackColor and ForeColor of C1Combo, instead of its EditorBackColor and EditorForeColor properties. Is it so?

    Best regards,

    Meenakshi

  • Posted 3 May 2018, 1:34 pm EST

    Meenakshi,

    Thanks, that was it.

    ANOTHER ITEM (and this one I am posting separately): I assume that it is an oversight that every C1 input control I’ve looked at (textbox, numeric edit, date edit) all have a ReadOnlyChanged event EXCEPT FOR the C1Combo.

    – Paul

  • Posted 3 May 2018, 1:40 pm EST

    Actually, I created a ticket on SupportOne.

    Is that the best place to report a missing feature?

    – Paul

  • Posted 4 May 2018, 2:12 am EST

    Hi Paul!

    First, I have forwarded this request to the development team as feature enhancement. I hope they find it feasible to add to C1Combo events.

    Second, you can post any of your issues (missing feature or suggestion, bug, query) on either forums or SupportOne portal. It is totally your wish.

    Best regards,

    Meenakshi

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels