cancel
Showing results for 
Search instead for 
Did you mean: 

TouchGFX Password save

HaJott
Associate

Hi all,

as I'm new to TouchGFX I'm struggeling on a problem hat does not look difficult at first glance.

My problem:

On screen_1 there is a Text Area allowes the use to enter a string as input.

The entered string is needed on screen_2. As far as I know, this has to be done via model files (cpp and hpp).

I tried to setup a variable (Unicode::UnicodeChar string_A[10]) in model.hpp but unfortunately I get a compiler error "Unicode....... is not declared.. ) although I have included Unicode.hpp (#include <touchgfx/Unicode.hpp>) in model.hpp.

I looked at tutorial 3 which shows me how to get integer values from one screen to another and it works.

What am I doing wrong and how can I fix this problem.

Thx in advance

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
JTP1
Lead

Hello

I thinki you must put like

touchgfx::Unicode::UnicodeChar string_A[10];

to model.hpp, and of course have

#include <touchgfx/Unicode.hpp>

like you allready had.

Hope this helps.

Br JTP

View solution in original post

2 REPLIES 2
JTP1
Lead

Hello

I thinki you must put like

touchgfx::Unicode::UnicodeChar string_A[10];

to model.hpp, and of course have

#include <touchgfx/Unicode.hpp>

like you allready had.

Hope this helps.

Br JTP

Hi JTP,

thx a lot

that helped !!

BR

HaJott