I have version 13.1 and I have a QAT with a textbox tool on it. When I type in the textbox you can barely see it the foreground color looks like silver or something... however taking the focus off the textbox the foreground color turns black and you can read it fine. How can i change the foreground color of the text for when the textbox has focus?
I am using the QAT on winform.
Hello,
I was able to reproduce this on my side and I found that if you set IsGlassSupported = false; , you will avoid this issue. So I’ve created support ticket in our issue taking system for further investigation of this matter. The ID of your support ticket is CAS-144661-Q5Y1J6, and I will update you about the progress of my research via the case.
Thank you for using Infragistics Components.
Very much appreciated. Thank you!
After further research our developers found out that this issue is not caused by Infragistics, the cause of this is placing of a control on an extended glass region. The basic reason behind this is that the Desktop Window Manager (DWM) knows to fill glass in a certain area by whether the color of the area is black, in addition to the DwmExtendFrameIntoClientArea function. In this situation, the only way to get around this limitation is to owner draw the text. Since the TextBoxTool (and ComboBoxTool) use a .NET TextBox to render the text when editing, it is not possible to owner-draw this text.
For more information on glass and placing controls on a glass area, see the following:
http://www.codeproject.com/vista/textonglass.asp
http://msdn.microsoft.com/msdnmag/issues/07/04/Aero/default.aspx
http://www.danielmoth.com/Blog/2006/06/vista-glass-in-c_17.html
Please let me know if you have any further questions.