Jump to content

HMI - Actions


Kojekude

Recommended Posts

Hi,

TextBox is an element that captures touch (you touch it in order to activate it and open the keyboard), so this behavior overrides the press / release /  click actions. This is why TextBox (and all  the elements that has Keyboard or touch capabilities like Numeric Box, Timer Box. Trend, Check Box, Combo Box etc.) don't have actions as well.

Rectangle is a very basic element that does not support actions, and it is meant for borders, background etc..., but there is a workaround.

You can take a Fixed Text element, set a background, border color, and border thickness, and change the text to an empty string, and you have a "Rectangle" with actions.

 

In our example projects that can be downloaded from the website, there is a project or a UDFB that converts a number to string.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

This site uses cookies. By clicking I accept, you agree to their use.