cancel
Showing results for 
Search instead for 
Did you mean: 

How can I chage the TextArea?

지한.1
Associate II

Hi, I used the STM32F429Zi discovery board.

So, I try to change the value to TextArea, but It's not work.

I created a project with reference to the following site.

​https://www.youtube.com/watch?v=4xxkN9h0HYI

*. Use the TouchGTX and make UI0693W00000HrVefQAF.jpg*. Make handlerTickEvent on the CubeIDE

0693W00000HrVfiQAF.png 

0693W00000HrVg7QAF.png 

*. Complie the code on the CubeIDE and execute TouchGTX simulator.

0693W00000HrVgbQAF.png 

0693W00000HrVgvQAF.png 

I don't know, what's the problem.

Can you tell me, how this code work?

And, Can you give me an example for TextArea?

Thank you

1 ACCEPTED SOLUTION

Accepted Solutions
Romain DIELEMAN
ST Employee

Hi,

You wrote "handlerTickEvent" instead of "handleTickEvent" in your code, so you are never overwriting the correct function and receiving ticks, and so the counter is never increased.

Make sure to also add the correct Wildcard Range as done at 3:55 of the video you shared otherwise you will have "? " instead of numbers shown.

You can find examples using textArea widgets in TouchGFX Designer. When creating a project go the the "Examples" tab on the left and select the demo you wish. I can recommend the Button example or the Arabic Text example.

0693W00000HrWFHQA3.pngI recommend to also have a look at the online documentation and the tutorials which will help you discover TouchGFX Designer. There are also good videos online on youtube like the one you shared :thumbs_up:

/Romain

View solution in original post

2 REPLIES 2
Romain DIELEMAN
ST Employee

Hi,

You wrote "handlerTickEvent" instead of "handleTickEvent" in your code, so you are never overwriting the correct function and receiving ticks, and so the counter is never increased.

Make sure to also add the correct Wildcard Range as done at 3:55 of the video you shared otherwise you will have "? " instead of numbers shown.

You can find examples using textArea widgets in TouchGFX Designer. When creating a project go the the "Examples" tab on the left and select the demo you wish. I can recommend the Button example or the Arabic Text example.

0693W00000HrWFHQA3.pngI recommend to also have a look at the online documentation and the tutorials which will help you discover TouchGFX Designer. There are also good videos online on youtube like the one you shared :thumbs_up:

/Romain

Thank you for the your reply.