cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - New to the community? Learn how to post a question and get help from PTC and industry experts! X

How to set two visibility values for the "label" widget

bmarimuthu-2
1-Newbie

How to set two visibility values for the "label" widget

Is there any other way around to set two visibility values for the "label" widget?

3 REPLIES 3

Could you please clarify what you mean by "two visibility values"? Are you referring to two states,visible or invisible depending on some condition? If so, you may look into Expression or Validator widgets.

run test.png

First I explain what I have done in above screen. Here "Run communiction Test" button  is overlayed by "continue" button. On clicking,I have set visibility as false for those 2 buttons using 2 different expression widgets. And I have used a validator " Run comm" that returns true value on clicking of "Run communication Test" binded to visibility of  label in "system message" fieldset So that it ill be visible only after clicking of   "Run communiction Test" button.

My requirement is,

I have a label in "System Message" fieldset. On clicking of "Run communiction Test" button, it has to display the "result message "column from "spLocal_comEnteGreatScaleCom_Run_Test" stored procedure

Similarly, On clicking of "continue"button, it has to display the "result message "column from another stored procedure"spLocal_comEnteGreatScaleCom_Evaluate_Test"


Would it be an acceptable solution to, perhaps, use a text area/text box in place of a label? then you would be able to bind a procedure output to the value of the widget.

Top Tags