SmartPanel
Panel used to hide parts of pages in relation to logins of certain user levels and configuration parameters.When the panel is not visible, it is replaced by an empty panel with the specified background color. Any other components below it are not visible.Use the CardPanel if you need to replace a series of components with others due to changes in user levels or variable values.Note: SmartPanel is opaque, and therefore always covers the background.It has the following additional properties:
- levelsHiddenlist of user levels (separated by comma), during which the panel and all of its content are not visible. Example: 1,2,5,7,8
- flagsVisible: Lets you specify a list of variables, separated by comma. The panel is visible when at least one variable contains a value other than zero. It is useful for machine configurations used to personalize the content of one or more pages, hiding the parts not called for in the current combination of accessories/options. Example: flag1,cfg1,cfg2,cfg3 You can also use constants (ex.: 1) or labels with negated value by using the prefix “!” (example: !flag1). The variables used are normal PLC labels or local variables (@).
- It is possible use in combined way the 2 properties. In this case, the flagsVisible is controlled only if levelsHidden allows the visualization.