cancel
Showing results for 
Search instead for 
Did you mean: 

text doesn't change

MA.21
Associate III

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 

4 REPLIES 4
MA.21
Associate III

something shows like GB was not declare in this scope

dont understand what it mean

0693W00000WIFIYQA5.png 

code

0693W00000WIFJgQAP.png

MA.21
Associate III

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
Associate III

ineractions

it works fine

0693W00000WIFslQAH.png 

but it doesn't work0693W00000WIFtAQAX.png

Osman SOYKURT
ST Employee

Hello @MA.2​ ,

I think what's missing is the correct include.

#include <texts/TextKeysAndLanguages.hpp>

/Osman

Osman SOYKURT
ST Software Developer | TouchGFX