input()
This member function opens the input dialog panel. This loads the "dialog_subInput.pnl" into the dialog panel. The associated value is written to and from a connected variable.
Synopsis
int DialogFramework::input( anytype &value, const mapping
&options)
Parameters
Parameter | Description | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
value | Displayed value and return value | ||||||||||||||||||||||||
options: |
A mapping with the dialog properties. The following keys are
supported:
|
Return Value
Returns the value associated with the selected button. This can be 0 when the "cancel" button is clicked, or 1 if the "ok" button is clicked.
Details
This function opens the input dialog panel, adjusted with the parameters given in the mapping. For this dialog panel, the default dialog sub panel contains an editable text field, whose changed value is saved in the "value" variable.
The parameters inside the mapping can be used to include local panels, icons, colors or catalog texts as parts of the dialog panel.
Assignment
Generic Dialog Framework
Availability
UI, CTRL