How to change C1.Win.C1List.C1Combo EditorBackColor when has focus?

Posted by: softcomlimited on 21 November 2022, 12:40 pm EST

    • Post Options:
    • Link

    Posted 21 November 2022, 12:40 pm EST - Updated 21 November 2022, 12:45 pm EST

    Hello,

    Is there a way to change the C1.Win.C1List.C1Combo EditorBackColor backcolor from grey-blue to Red when the control has the focus ? I tried setting c1cbo.EditorBackColor = Color.Red in the Enter event but the Red just shows like a border around the grey-blue.

    Thanks

    Brian

  • Posted 22 November 2022, 1:04 am EST

    Hello Brian,

    We do not face the issue at our end in setting the EditorBackColor property. Please find the attached sample implementing the same and modify it accordingly to show the issue so that we can assist you further accordingly.

    Regards,

    Prabhat Sharma.

    ComboDemo.zipComboDemoNET6.zip

  • Posted 22 November 2022, 8:11 am EST

    Thank you for the response Mr Sharma.

    Sorry I forgot to say my version is the older version. I will send a sample and hopefully you can still help.

    Regards

    Brian Morris

  • Posted 22 November 2022, 9:55 am EST

    Mr Sharma,

    Please see attached sample.

    My version is Version=4.0.20151.38

    I just purchased a subscription that I can’t install just yet but I would like to know if the current version of .NET 4 control has the same issue?

    Regards

    Brian

    c1ComboTest.zip

  • Posted 22 November 2022, 11:59 pm EST

    Hello Brian,

    Thank you for sharing your code.

    As the ComboStyle, you have used is DropdownList so the Editor panel is not enabled and the backcolor is not visible.

    You can use the ComboStyle as DropdownCombo to see the changes.

    Regards,

    Prabhat Sharma.

  • Posted 23 November 2022, 7:53 am EST

    Mr Sharma,

    I understand. I need it to be a dropdownlist but the way the editor box looks is not very appealing and I was hoping it could be adjusted.

    Thanks

    Brian

Need extra support?

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

Learn More

Forum Channels