Hi there
I am using the UltraWinEditors v12.2.20122.2006
My boss asked to make the borders on our text boxes a little more snazzy. So I have set the BorderStyle to TwoColor and the BorderColor and BorderColor2 properties to Color.CornFlowerBlue but for some reason as soon as I run it on a PC that does not the Infragistics suite on it the borders are not rendered. I don't get any errors or other odd behaviour it's just the borders are not rendered. If I try other BorderStyles such as Rounded4Thick etc. you see the controls have a border but no color or weight.
My PC is Windows 7 but others are various including WinXP, 7 and 8
Tried setting UseOSThemes to true with no luck.
Any ideas?
Hi Jose
That seems to have done the trick.
Thanks very much
Regards
geoffhop
Hello,
I will be happy to assist you.
I recommend changing the UseOSThemes property to false to prevent the OS from restricting any appearances from being set to the UltraTextEditor control. Please see the example code snippet below and the attached sample:
private void Form1_Load(object sender, EventArgs e){ this.ultraTextEditor1.UseOsThemes = Infragistics.Win.DefaultableBoolean.False; this.ultraTextEditor1.BorderStyle = Infragistics.Win.UIElementBorderStyle.TwoColor; this.ultraTextEditor1.Appearance.BorderColor = Color.Red; this.ultraTextEditor1.Appearance.BorderColor2 = Color.Blue;}
Please let me know if you have any questions regarding this matter.