Skip to main content
MA.21
Associate III
Nov 14, 2022 9:31 AM UTC
Question

text doesn't change

i simply create a application with a label button, container with two radio button shown below

actually what i want is when i click the button show the container (do it with interaction and virtual function calling)

container.setvisible(true)

container.invalidate

works well

at the same time when i select any of the radiobutton ,the text of the label button have to change corresponds to the resources added (do the same in touch gfx text example)

0693W00000WIFCqQAP.png0693W00000WIFFAQA5.png0693W00000WIFEvQAP.png 

This topic has been closed for replies.

4 replies

MA.21
MA.21Author
Associate III
Nov 14, 2022 9:35 AM UTC

something shows like GB was not declare in this scope

dont understand what it mean

0693W00000WIFIYQA5.png 

code

0693W00000WIFJgQAP.png

MA.21
MA.21Author
Associate III
Nov 14, 2022 10:34 AM UTC

i include c++ code when lebel buton clicked and run simulator its working, but i call new virtual function when button clicked(shown above) and copy the same line in c++ code doen't work it shows GB OR MK not declared in this scope0693W00000WIFrsQAH.png 

how i can fix

MA.21
MA.21Author
Associate III
Nov 14, 2022 10:36 AM UTC

ineractions

it works fine

0693W00000WIFslQAH.png 

but it doesn't work0693W00000WIFtAQAX.png

Osman SOYKURT
ST Technical Moderator
Nov 16, 2022 2:13 PM UTC

Hello @MA.2​ ,

I think what's missing is the correct include.

#include <texts/TextKeysAndLanguages.hpp>

/Osman

ST Software Developer | TouchGFX