Skip to main content
MA.21
Associate III
November 11, 2022
Question

spae

  • November 11, 2022
  • 5 replies
  • 1150 views

how print a space in touch gfx textarea

This topic has been closed for replies.

5 replies

Yoann KLEIN
ST Employee
November 11, 2022

Hello @MA.2​ ,

Doesn't it work when you simply insert a space between 2 words in the "Translation" field of the TextArea ?

/Yoann

Yoann KLEINST Software Developer | TouchGFX
MA.21
MA.21Author
Associate III
November 12, 2022

can i set wildcard range as 0x20-0x7f(include all keys) to print a space

MA.21
MA.21Author
Associate III
November 12, 2022

for (int j = 0 ; j<12 ; j++)

  {

    Unicode::snprintf(textArea1Buffer, TEXTAREA1_SIZE, "%s%d\n", textArea1Buffer, pda[j]);

     

    textArea1.invalidate();

  }

it works well, but repalce "\n" with "\t" doesn't work . show something like

MA.21
MA.21Author
Associate III
November 12, 2022

0693W00000WIATMQA5.png

Tesla DeLorean
Guru
November 15, 2022
Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..