Is it possible to change a text value whitout "???"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-06-10 5:20 AM - edited ‎2025-06-10 5:23 AM
Hello.
I try to write a dynamic changed value in a text area.
But it isn't possible to make a value output.
I get allways "???" instead of my value.
I used the video from ST: https://support.touchgfx.com/academy/how-to/textarea
and try to change the text on runtime, but i get allways "????" as result. Even if i thy to write a unicode-string, a char string, a unicode-value...
The only way to change the text at runtime is to use a static text and an additional wildcard text.
counter++;
Unicode::snprintf(Screen1View::textArea1Buffer, Screen1View::TEXTAREA_SIZE, "%d", counter);
textArea1.invalidate();
If i use only a Wildcard, all characters are a "?".
If i use two text's -> Auto-generated fixed Text "RPM:<value> and a Wildcard1, most of the characters are a "?" (RPM: is correct).
Is there a way to suppress the question marks, or does TouchGFX always display a question mark when trying to change a text or value?
- Labels:
-
TouchGFX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-06-13 2:20 PM
Have you added 0-9 to the wildcard characters as described here?
TouchGFX Prints ? If the characters are not already used elsewhere.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-06-16 2:46 AM
Hello @Heinz_Baumer ,
To be more precise on the previous answer that was given, you have to add the characters you want to be displayed from the wildcard in the "Wildcard range", in the example below, we added all characters between 0 and 9:
Regards,
Software engineer at ST (TouchGFX)
