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
414
Text rendering issue with UltraComboEditor used on NavigationBar Vista/Glass
posted

Hi,

we use a UltraComboEditor in a ControlContainerTool to add it at the 8.3.20083.2021 version Ultratoolbarmanager.NavigationBar. Now, it's text get rendered correctly on Vista with glass enabled if the box is not in edit mode, but as soon a user click the box to enter text, it gets rendered ugly (black forecolor is the transparency).

Is there any known workaround here? I examinded a little bit with reflector and saw it uses the common controls textbox when it is in edit mode, right? So how we get it fixed?

Parents
No Data
Reply
  • 37774
    posted

    Unfortunately, I believe that this is a known issue with the .NET TextBox when rendered on a glass area; since the UltraComboEditor uses an EditorWithText (which itself uses a .NET TextBox in edit mode), it is subject to this limitation.  I'm not sure that there's a workaround short of rendering the text yourself.  I do not think that EditorWithMask-based controls have this issue, so it may be possible to use an UltraMaskedEditor (or UltraFormattedTextEditor, which also does not use an EditorWithText) and add a DropDownButton to the ButtonsRight collection of the control, then show your own dropdown that way.

    -Matt

Children