Hi team,
We are planning to create some Views in Perspective, which will be accessed using a touchscreen. Before we begin, we have a couple of questions:
- Are there any specific guidelines or best practices we should follow when designing for touchscreens? (e.g., parameters, component properties, recommended button sizes, etc.)
- For text input fields, how can we automatically trigger an on-screen keyboard when the user taps the textbox?
Your assistance on this would be greatly appreciated.
Best regards,
Hi Nader,
First of all, thank you for your detailed and easy-to-understand guidance.
I would like to clarify that we will be using these new Perspective Views on an HMI touchscreen, not on mobile devices. So, it would be helpful if you could provide your advice specifically with that use case in mind—especially since features like a built-in keyboard are not available by default.
To recap, we have the following questions:
- Are there any specific guidelines or best practices we should follow when designing for touchscreen HMIs? (e.g., parameters, component properties, recommended button sizes, etc.)
- For text input fields, how can we trigger a small on-screen keyboard when the user taps the textbox?
Your continued support is much appreciated.
Ok got it. I was in the same scenario many years ago with raspberry pi 3 acts as HMI panel.
- For trigger keyboard based on your OS, you can call system.util.execute() whenever your text input touch by user to execute some kind of command or batch or script to bring the OS keyboard. The second method is just simply create your own Perspective version keyboard in bottom dock.
- The resolution and size of your touch screen is really important here. If it is low Res and small size just better to use mobile guidelines other wise not need to follow that.
- If your application is going to install your HMI panel in front of the your panel , use large size for every thing. For example use big SVG pushbutton graphic instead of normal button. And larger font size.
Other than that I don't think there is any difference.
1 Like