2020-06-11 04:09 PM
Thank you for helping.
environment:
STM32F769I-DISCO
TouchGFX4.12.3
STM32CubeIDE1.3.0
I want to create a screen for setting parameters such as IP address.
(1)Is there a text box to enter in the UI? If not, how can this be achieved?
(2) How can you display the cursor?
(3) What is the method for displaying the keyboard on the screen and inputting?
Do you have a sample project?
Thank you.
Solved! Go to Solution.
2020-06-19 03:18 AM
Hi,
The keyboard demo does not have a cursor implemented. You could create one by using a box widget and making it move accordingly to what you want.
What do you mean by focus on a text box?
I am currently working on a demo of a cursor with text/numbers that you can add/remove where you want. It might be useful to you, here is the link to the zip on wetransfer (couldnt load it directly to this message, so this is a temporary link). For now only screen 2 works so look only at the code related to screen2view.
/Romain
2020-06-12 12:09 AM
Hello,
You can find a Keyboard Example as well as Text Examples available in TouchGFX Designer.
/Alexandre
2020-06-15 10:10 PM
Thank you for your reply.
Why doesn't the designer see the keyboard screen?
How do you design it?
2020-06-16 12:17 AM
Hello,
The Keyboard is not available in the Designer View in itself. It is hardcoded so you have to go through the code to see how it's implemented.
/Alexandre
2020-06-18 07:07 PM
Thank you for your reply.
How can I focus on a text box?
How can I display the cursor?
Do you have sample code?
2020-06-19 03:18 AM
Hi,
The keyboard demo does not have a cursor implemented. You could create one by using a box widget and making it move accordingly to what you want.
What do you mean by focus on a text box?
I am currently working on a demo of a cursor with text/numbers that you can add/remove where you want. It might be useful to you, here is the link to the zip on wetransfer (couldnt load it directly to this message, so this is a temporary link). For now only screen 2 works so look only at the code related to screen2view.
/Romain
2020-06-21 09:12 PM
Hi Romain
Than you for your reply.
Did you bother to make it?
I am going to use it as an example.
2020-06-22 12:05 AM
Of course use it. You were not the only one asking for a cursor example so I was planning on putting that one (once i properly clean and explain the code) on the forum anyway.