HI ,
I am using in my winform app (Version Telerik Q3) in your Defult (Black Office And Windows 7)Theam And Whan i Run The app on Win Xp all lables are dissapre ,
when i Modify the Window Color Scheme To Silver The Lables Are Appering -On WIndow 7 Or Xp The Problome Dont Exist
THX
I don't have a Windows XP system to try this on, but my initial thought is that you have the back colour of the control set to one of the system background colours that match your PC. Have a look at the back colour for the label and if it is set to one of the system colours, try changing it to transparent. Are you able to replicate this if you run the code on a different XP machine?
Thanks
Richard
0
Ivan Petrov
Telerik team
answered on 29 Nov 2010, 02:39 PM
Hello Dasash,
Thanks for writing.
RadLabels take their ForeColor value from the ForeColor property of the parent control. Commonly, this is your Form where the ForeColor is ControlText hence the actual color depends on the theme of your Windows.
You can two options in this case:
Set the ForeColor of the form to an appropriate value that matches the style of your application. Such a value could be Black or White.
Edit the Office2007Black/Windows7 theme using our Visual Style Builder tool. You can follow these steps in order to open, edit and save our predefined themes. When you set the ForeColor of the RadLabelElement or its TextPrimitive to a value of the Color enumeration, the color of your RadLabels will no longer depend on the color of the form.
I hope you find this information useful. If you have additional questions, feel free to contact me.
Regards,
Ivan Petrov
the Telerik team
Get started with RadControls for WinForms with numerous videos and detailed documentation.