Skip to main content
BBoec
Associate II
Apr 30, 2019 6:37 PM UTC
Solved

Missing variables textCounterBuffer and TEXTCOUNTER_SIZE

Dear,

 On https://touchgfx.zendesk.com/hc/en-us/articles/205443982 the variables textCounterBuffer and TEXTCOUNTER_SIZE are used in snprintf.

 If I'm not mistaken, those variables are not available in TouchGFX 4.10.0. Is that correct?

Thanks,

Bart

This topic has been closed for replies.
cameronf
cameronfBest answer
Associate
Apr 30, 2019 7:01 PM UTC

If you add a wildcard to the textArea and check the "Use wildcard buffer" option they should get generated in the ViewBase class for that screen.

Screenshot:

0690X000008B7t8QAC.png

EDIT: add screenshot

2 replies

cameronf
cameronfBest answer
Associate
Apr 30, 2019 7:01 PM UTC

If you add a wildcard to the textArea and check the "Use wildcard buffer" option they should get generated in the ViewBase class for that screen.

Screenshot:

0690X000008B7t8QAC.png

EDIT: add screenshot

BBoec
BBoecAuthor
Associate II
May 1, 2019 5:34 AM UTC

thank you, nice catch! :)