2022-01-13 02:24 AM
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 UI*. Make handlerTickEvent on the CubeIDE
*. Complie the code on the CubeIDE and execute TouchGTX simulator.
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
Solved! Go to Solution.
2022-01-13 03:08 AM
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.
I 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
2022-01-13 03:08 AM
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.
I 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
2022-01-13 03:12 AM
Thank you for the your reply.