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
544
Control appearance under different OS themes
posted

Hi everyone,

 I have a little problem with setting appearance of the infragistics ultra numeric editor so it always looks like textbox. Under Windows XP with default and classic theme, out of the box ultra numeric editor looks just like ordinary TextBox (with the exception of PromptChar but that is not something what I am concerned with). If I run the same application in Windows Vista, ultra numeric editor will have a flat border (as in Windows XP default theme) whereas TextBox will have a different appearance (similar to the Infragistics.Win.EmbeddableElementDisplayStyle.WindowsVista display style).If I set the ultra numeric editor's DisplayStyle to "vista look" then control will look different under Windows XP.

How can I preserve correct appearance under Windows XP and still have correct appearance (same as TextBox) under Windows Vista ?  

 Thanks in advance.