Jump to content
Sign in to follow this  
Kojekude

HMI - Actions

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.

Share this post


Link to post
Share on other sites

Thank You for explanations, Saragani!

I'm delighted with Unilogic and I made some very complex programs in it. I wanted to use Textbox element like button, and because Text element have Action option, it was logical to me that it has TextBox,  too.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...