Input controls provide a mechanism by which users can use the Dashboard to modify inputs to a GoldSim model. This is done by linking the control to a Data element within the model. There are seven input controls:
• Input Edit Box;
• Slider;
• Check Box;
• List Box;
• Combo Box;
• Input Grid; and
• Date-Time Picker.
Although each of these controls has a different functionality (which is described in detail below), they have some common properties with respect to how they link to elements in GoldSim. First and foremost, input controls can only be linked to Data elements.
If a control is not yet connected to an element, GoldSim indicates this by outlining the control with a dashed red line:
When viewed in the Player, a control that is not connected to an element is simply grayed out.
Once a control is linked to a Data element, this is clearly indicated in the Data Source section of the Data element’s property page:
As can be seen, the dialog indicates that the element is “Controlled by Dashboard(s)”. Clicking on the Go to Control button takes you directly to the control that references the Data element.
Note: Once a Data element is connected to a control, it can no longer be edited from the element’s property dialog (the Definition field is grayed out), and can only be edited using the control.
If you right-click on an element that is controlled by one or more input controls, you can immediately jump to those controls from the context menu for the element:
Similarly, after an input control is linked to an element, you can jump to the connected element from the control’s context menu:
Note that if an element is not directly controlled by an input control, but is referenced by the control in order to hide and/or disable it, this is also indicated in the context menu for the element:
Similarly, if a control has specified attributes that reference outputs for hiding and/or disabling the control, the element(s) associated with these outputs are also displayed in the context menu for the control:
Learn more about: