Skip to main content
MA.21
Associate III
November 14, 2022
Question

text doesn't change

  • November 14, 2022
  • 4 replies
  • 2861 views

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
November 14, 2022

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
November 14, 2022

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
November 14, 2022

ineractions

it works fine

0693W00000WIFslQAH.png 

but it doesn't work0693W00000WIFtAQAX.png

Osman SOYKURT
ST Technical Moderator
November 16, 2022

Hello @MA.2​ ,

I think what's missing is the correct include.

#include <texts/TextKeysAndLanguages.hpp>

/Osman

ST Software Developer | TouchGFX