Freelance Hmi
I just want to hide and show the button in freelance v2016 hmi by using one tag. Can you tell me how can i do it ?
Thanks
Answers
Hello asad1837,
the parameter mask of a button contains the possibility to configure background-, line color text and action based on the value of a variable.
You cannot use a Tag, but a variable (could be an output pin of a Tag connected to a variable) to control the visibility. If your variable is of type BOOLEAN for example, it can have the values TRUE or FALSE. If you want the button to hide if the variable is FALSE you could write the variable name and FALSE in the Variable and Value fields. Then under the section "Variable = value" you would configure the Text as empty, both colors as transparent and the action as "No Action".
In case the button is configured as 3D I saw still the 3D lines in the editor. Not sure if it is the same in the runtime. If yes, you couild configure the button to be non 3D, or experiment with the Button Object parameter by specifying a rectangle that covers the complete button and whose line- background- and foreground color match the background color around the button. That rectangle would cover the button completely if the Variable was FALSE
Add new comment