Print Page | Close Window

[SOLVED]Problem with CXTPComboBox background

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=23698
Printed Date: 22 December 2024 at 10:39pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: [SOLVED]Problem with CXTPComboBox background
Posted By: Marco1
Subject: [SOLVED]Problem with CXTPComboBox background
Date Posted: 23 August 2018 at 8:59am
This worked fine in 15.3.1 (dropdown was white), in 18.5.0 it doesn't.
Setting the background of a CXTPComboBox with SetBackColor(red) gives the following result:



The dropdown box is filled with same same color like the edit control.
IMHO SetBackColor() should only set the background of the edit control and NOT of the dropdown, which is uncommon. The dropdown must remain in system standard background, which is white here.
Can you please provide a fix?



-------------
Product: XTP 18.3.0 on VS 2017
Platform: VS 2017 / Windows 10 (64bit)



Replies:
Posted By: agontarenko
Date Posted: 17 January 2019 at 2:39am
Hello,

This is not bug. Dropdown box is filled with same same color like the edit control because this by design in order to accommodate for dark themes.

Regards,
Artem Gontarenko



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net