Solved
TouchGFX 4.24 and textfield in container
HI, could you come up with an example of how to access a textfield from a custom container in the Main screen?
Thanks in advance.
HI, could you come up with an example of how to access a textfield from a custom container in the Main screen?
Thanks in advance.
If you have 5 instances of your CustomContainer on your View, you can give every instance a different text:
myContainer1.getTextArea.setTypedText(touchgfx::TypedText(T_TEXT1));
myContainer2.getTextArea.setTypedText(touchgfx::TypedText(T_TEXT2));
myContainer3.getTextArea.setTypedText(touchgfx::TypedText(T_TEXT3));
myContainer4.getTextArea.setTypedText(touchgfx::TypedText(T_TEXT4));
myContainer5.getTextArea.setTypedText(touchgfx::TypedText(T_TEXT5));
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.