Hi,
I'm updating label content (label text) depending on what button was pressed and some other data.
On each update, the updated (new) text overlaps the old text (or 'superposition' of previous texts) - I get superposition of both texts on the screen.
I would expect that the old text should be erased, and only the new one should be visible on screen.
I've checked both: D4D_SetText and D4D_LabelSetText.
There is no such problem with the Button widget...
I don't think this is the expected behaviour - or maybe I don't understand the widget behaviour ?
Regards
Maciek
解決済! 解決策の投稿を見る。
Hello,
Change in d4d_user_cfg.h
#define D4D_LBL_FNT_PRTY_DEFAULT ( D4D_FNT_PRTY_TRANSPARENT_YES_MASK )
By:
#define D4D_LBL_FNT_PRTY_DEFAULT ( D4D_FNT_PRTY_TRANSPARENT_NO_MASK )
Best Regards,
Luis
Hello,
Change in d4d_user_cfg.h
#define D4D_LBL_FNT_PRTY_DEFAULT ( D4D_FNT_PRTY_TRANSPARENT_YES_MASK )
By:
#define D4D_LBL_FNT_PRTY_DEFAULT ( D4D_FNT_PRTY_TRANSPARENT_NO_MASK )
Best Regards,
Luis
Thanks for help. It works.
Regards
Maciek