Skip to main content
JJ.Lin
Associate III
December 13, 2021
Question

Set text for TextArea widget using char array instead of using typedText

  • December 13, 2021
  • 2 replies
  • 1524 views

Hi,

Now I need to update the content that user inputs, but it seems that the TextArea widget can only set TypedText of generated.Maybe using text_with_wildcard and format the placeholder with char array. So is there any graceful way to do it ?

/jjlin

This topic has been closed for replies.

2 replies

MM..1
Super User
December 13, 2021

Not maybe but using text_with_wildcard set max chars in designer and in code you can write any char array , but chars used need be listed in font...

N. SANTINI
ST Employee
December 13, 2021

Hi,

Sure the wildcard is your way out here, see : https://support.touchgfx.com/4.18/docs/development/ui-development/touchgfx-engine-features/texts-and-fonts#wildcards

This way you can set the text area to any content, as long as you set properly the wildcards range in the Text panel.

Best regards,

Nicolas