TEXT widget with transparent bk

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • TEXT widget with transparent bk

    I have some TEXT widget with Transparent background and White text. Some of them doesn't display any text. If I try to set an opaque Backgoung (such as GUI_DARKGREEN) I can see white text on dark green background. What are the reasons why a transparent background does not make the text invisible?

    best regads
    Max
  • Hi,

    A transparent background is pretty useful if you don't have a solid color in the background, e.g. a bitmap.

    If a TEXT widget shouldn't display anything you simply set "" as string or call WM_HideWin(hText) to make it disappear.

    Regards
    Sven
    Please read the forum rules before posting.

    Keep in mind, this is *not* a support forum.
    Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
    Should you be entitled to support you can contact us via our support system: segger.com/ticket/

    Or you can contact us via e-mail.