Control panel and controls *

22.03.2021

FlexPro offers you a range of controls, such as text fields, buttons, or list boxes, that you can use to create forms or dialog boxes. You can insert these controls, like shapes, either directly into documents, charts, or tables, or you can create a panel on which you position the controls. You can embed the control panel (similar to a diagram, for example) in a worksheet or document, or create it directly in the Object List and then use it as a link in a worksheet or document, if necessary.

The controls that allow input can also be linked directly to a data set, in which FlexPro enters the user's current input. You can therefore include this input in your analyses.

In addition, FlexPro can automatically send an update command as soon as the user makes an entry. For example, this allows you to parameterize your analysis using a control panel and to update it automatically after making any change.

A more flexible control option is offered by VBA macro procedures. For each control, you can store a VBA macro to be called when the user modifies the control. This allows evaluations to be fully automated.

Note: To edit controls and access their properties, you must first activate the design mode of the respective object in which the control is located (see Developer[Controls] > Design Mode or Control Panel Tools\Design[Controls] > Design Mode).

Here is an overview of the available controls:

Control

Description

Button

A labeled area that the user can click to trigger an action

Combo box

A box with a drop-down list from which the user can select an item.

Checkbox

A labeled box that the user can select.

Spin box

Two buttons with arrows that can be used to increase or decrease a value.

List box

A list of several lines of text from which the user can select one or more.

Radio button

Usually several labeled radio buttons are used in a group, allowing the user to select one of several options.

Group box

A labeled frame that can be used to group radio buttons, for example.

Designation

A description with which, for example, a text box can be labeled.

Scroll bar

A vertical or horizontal bar with a slider and two arrows at the ends.

Text box

A field where the user can enter any text.

Control panels can always be added with the command Insert[Other] > Control Panel. You can insert controls into control panels using Control Panel Tools\Design[Controls] > Controlsand into presentation objects using the command Developer[Controls] > Controls.

* This object is not available in FlexPro View and FlexPro Basic.

Share article or send as email:

You might be interested in these articles