Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
265
trying to get the same look as the System.Windows.Forms.TextBox
posted

Hi,

 

not sure what I am doing wrong, but I can't get the style I want. I recently replaced a textbox I had with the infragistics one but I want to keep the look the same. The style is intially flat looking and it does change as I focus the textbox to the one I actually set. I don't understand why it is not always that one.

in the designer I see the textbox raised the same way I see it when focused, but how do I get rid of the flat appearance when not focused?

 

Me.txtText.BorderStyle = Infragistics.Win.UIElementBorderStyle.Raised

       

Me.txtText.DisplayStyle = Infragistics.Win.EmbeddableElementDisplayStyle.Office2000

       

Me.txtText.UseAppStyling = False

       

Me.txtText.UseFlatMode = Infragistics.Win.DefaultableBoolean.[False]

       

Me.txtText.UseOsThemes = Infragistics.Win.DefaultableBoolean.[True]

 

thanks,

mk

Parents Reply Children