cancel
Showing results for 
Search instead for 
Did you mean: 

TextArea with wildcard copy issue on the new TouchGFX Designer 4.21.1

JPan.4
Associate II

Hello,

I came to this issue, when I copied a TextArea (with one wildcard) from screen A to screen B. After code generation there is no corresponding c++ code for touchgfx::TypedText(...) generated.

The error report is:

error: 'T___SINGLEUSE_2HH2' was not declared in this scope; did you mean 'T___SINGLEUSE_TO32'?
  117 |     Unicode::snprintf(FenceNum_FrontBuffer, FENCENUM_FRONT_SIZE, "%s", touchgfx::TypedText(T___SINGLEUSE_2HH2).getText());
      |                                                                                            ^~~~~~~~~~~~~~~~~~
      |                                                                                            T___SINGLEUSE_TO32

If I just create new textArea on screen B, there is no such problem.

If I reopen the Designer project, I will find, the wildcard ID is missing. I need to create wildcard ID again. Then recompile the project, there is no error again.

PS: I didn't copy the TextArea in the same screen.

1 REPLY 1
Yoann KLEIN
ST Employee

Hello @JPan.4​,

I just tried it and I don't have any issue with wildcards.

Could you share your project please ?

/Yoann

Yoann KLEIN
ST Software Developer | TouchGFX