Skip to main content
idrissmc
Associate III
May 2, 2020
Question

Text wildCard shows characters

  • May 2, 2020
  • 5 replies
  • 1261 views

Hello,

I made a simple project to test TouchGFX, when I move the slider I got error values, the initial value I’ve set in TouchGFX Designer is 25, so when I move the slider if the value contains 2 or 5 it will show with an other character

this is is my code:

void Screen1View::SliderChanged(int value)

{

unicode::snprintf(textArea1Buffer, TEXTAREA1_SIZE, “%d�?,value );

textArea1.setWildcard(textArea1Buffer);

textArea1.invalidate();

}

This topic has been closed for replies.

5 replies

PBull
Associate II
May 2, 2020

Hi,

you should add all digits you want to use (0-9) to your project (Texts -> Typographies -> Wildcard ranges).

idrissmc
idrissmcAuthor
Associate III
May 2, 2020

Where can I find that?

PBull
Associate II
May 2, 2020

In your Designer (Texts -> Typographies -> Wildcard ranges)

Karan 123
Senior
May 2, 2020

Hi,

Please Check below Image.

0693W000000WnsfQAC.png

Karan

idrissmc
idrissmcAuthor
Associate III
May 3, 2020

Thank you