Monday, December 11th 2017, 1:00am UTC+1

You are not logged in.

  • Login
  • Register

mastupristi

Beginner

Date of registration: Feb 18th 2016

Posts: 13

1

Wednesday, November 15th 2017, 12:58pm

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

SEGGER - Schoenen

Super Moderator

Date of registration: Aug 13th 2015

Posts: 438

2

Thursday, November 16th 2017, 10:03am

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