HMI Pad Forums Old forum Support (old) Hidden function

This topic contains 1 reply, has 1 voice, and was last updated by  designertech 9 years, 8 months ago. This post has been viewed 780 times

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #19963


      bb0 BOOL LOCAL page=”MainLine”;section=”Tension”; label=”Tension Setpoints”; comment=”"; style=segment_switch; on_label=”HIDE”; off_label=”SHOW”; write_access=0;

      F50_23 REAL F50:23 page=”MainLine”; section=”Tension”; label=”Thread Setpoint”; comment=”"; style:=bezel; color = “blue”; format =”3.0″; bounds:={0,500}; suffix:=” lb”; hidden=bb0; write_access=0;

      Using the “hidden” function with the “segment_switch” as a toggle, is it possible for the line to be “hidden” by default, instead of “showing”.




        You can set the ‘value’ attribute of the first row to 1 (value=1;). This way bb0 will launch with a value of 1, thus hiding the second row by default.

        Alternatively, you can reverse the meaning of bb0 so that it actually means shown instead of hidden. To do so swap the “HIDE” and “SHOWN” texts in the first row and then set hidden=!bb0; in the second row. That way the second row will be hidden by default.

      Viewing 2 posts - 1 through 2 (of 2 total)

      You must be logged in to reply to this topic.

      Copyright © SweetWilliam, S.L 2009-2013. All rights reserved.
      Science and Technology Park of the University of Girona, Emili Grahit, 91 (NarcĂ­s Monturiol building, Office P3-B03) 17003-Girona. Phone +34972183244