Jump to content

Recommended Posts

On the main screen of a product I'm working on I would like to have a user entered controller name displayed on the top of the screen during normal operation and a red "Alarm" label displayed in its place when an alarm condition is active.  My first idea for how to do this was to create text box with "Alarm" in red text, create a separate ASCII string variable to contain the user entered name, and then while one of them is being displayed, hide the other.  However, I've found that by using the "hide" property, hiding one causes that element to disappear, but still block out any element behind it.  Is there another way to do this?  I realize that I could make the "Alarm" text an ascii string as well and simply change the string contents at run time (and thereby not use a separate text box for "Alaram").  However, I want to make the Alarm text red and the controller name black, and I'm not sure how I could do this dynamically with an ASCII variable.  I appreciate any suggestions.

Share this post


Link to post
Share on other sites

I have a problem like this. I have a binary image that is over a part of other images, but when I hide de binary control using its "Hide property", the behind images are not showed completely,  because de binary image os replaced by a rectangle of its size having backgroud color, how can solve this problem?

Share this post


Link to post
Share on other sites

In VisiLogic, overlapping HMI elements is not allowed when they are active elements and is inadvisable when they are inactive (certainly when trying to use the Hide property). You just need to figure out another way to present your data.

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.


×
×
  • Create New...