TestVisibleOn

MacroModule
author MeVis Medical Solutions AG
package MeVisLab/Standard
definition gui.def
keywords MDL, example

Purpose

This module helps test the behavior of visibleOn expressions, especially regarding the automatic resizing.

Usage

Click the “Condition” check box to see the content of the panel change.

Windows

Default Panel

../../../Modules/Macros/Tests/GUI/mhelp/Images/Screenshots/TestVisibleOn._default.png

Parameter Fields

Visible Fields

Condition

name: condition, type: Bool, default: TRUE

Determines the visibility of the components of the panel.

Toggle Twice

name: toggleTwice, type: Trigger

This button demonstrates that changing visibility of items twice avoids resizes altogether if the visibility afterwards is the same as before.