Dialog elements for the variable dialog
The following dialog elements are available for the variable dialogs:
Horizontal grouping:
The horizontal grouping provides a framework in which the individual dialog elements are lined up beside each other. Their position must always be defined by a vertical group, which means that all dialog elements contained within a horizontal grouping must be defined in a vertical group. A horizontal group is defined as follows:
[C:VDGL_HORZ,Caption_str,DistAbove_n,DistAfter_n,[Dialogelem]]
- C:VDGL_HORZ: Type definition for horizontal grouping.
- Caption: The horizontal grouping's caption. If "Caption" is not an empty string, a frame will be drawn around the horizontal group.
- DistAbove: distance above the horizontal group to the next dialog element.
- DistAfter: distance behind the horizontal group to the next dialog element. "DistAfter" and "DistAbove" are specified in pixels.
- [Dialogelem]: element array used to define the dialog elements located in the horizontal grouping. This array must only contain elements of the type VDGL_Vert.
Vertical grouping:
The vertical grouping provides a framework in which the individual dialog elements will be lined up below each other. The width of the dialog elements is defined by the vertical group. A vertical group is defined as follows:
[C:VDGL_Vert,Caption_str,[XStart_r,XEnd_r],XPart_r,[Diag],Marg_n]
- C:VDGL_Vert: Type definition for vertical grouping
- Caption: The vertical grouping's caption. The vertical grouping always has a frame drawn around it.
- [XStart,XEnd]: XStart and XEnd define a factor (between 0 and 1) for the width of the vertical group relative to the width of the hierarchically superior dialog. Additionally, they define the X-position of the vertical group.
- XPart: A factor between 0 and 1 that defines the ratio between the prompted value and the input value for the dialog fields (the text assigned to an input field is called the "prompt"). If XPart=-1, the prompt is positioned above the dialog element.
- [Diag]: Element array used to define the dialog elements located in the vertical grouping.
- Marg (margin): An optional parameter that defines the displacement of the dialog elements relative to the edge of the vertical group. This means that the dialog elements contain the distance "Marg" (margin) from both the left-hand and right-hand edge of the vertical group.
RealEditFeld:
Provides an edit box in which you can input a floating comma number.
[C:VDGL_Real,Prompt_str,Preset_r,res,res,Places_n]
- C:VDGL_Real: Type definition of RealEditFeld.
- Prompt: text assigned to the input field.
- Preset: Preset value.
- res: Here, a space has been reserved for two optional parameters which are not currently in use. However, these spaces must not be left empty in the definition (e.g. [C:VDGL_Real,Prompt,Preset,0,0,Places] would be a correct solution but not [C:VDGL_Real,Prompt,Preset,,,Places]).
- Places: An optional parameter defining the number of decimal places in the input field.
- ReturnVal: (return value). The return value is the input string.
IntEditFeld:
Provides an edit box in which you can input a whole number.
[C:VDGL_Int,Promt_str,Vorgabe_n]
- C:VDGL_Int: Type definition of IntEdit field.
- Prompt: text assigned to the input field.
- Preset: Preset value.
- ReturnVal: (return value). The return value is the input string.
StringEditFeld:
Provides an edit box in which you can input text.
[C:VDGL_Str,Promt_str,Vorgabe_str]
- C:VDGL_Str: Type definition of the StringEdit field.
- Prompt: text assigned to the input field.
- Preset: preset value.
- ReturnVal (return value): The return value is the input string.
Text display:
The system generates a text display. If an empty string is entered instead of text, the text field can also be used to define a distance.
[C:VDGL_Prompt,Prompt_str,Fieldheight_n]
- C:VDGL_Prompt: Type definition of text display.
- Prompt: Field text.
- Fieldheight: Height at which the text is displayed.
IntComboBox:
Provides a combo box in which you can input a whole number.
[C:VDGL_IntCom,Prompt_str,[Entr_n],Sign_n/[Ind_n],0,0,AsVal_b]
- C:VDGL_IntCom: Type definition of IntComboBox.
- Prompt: Text assigned to the combo box.
- [Entr]: Element array containing the available list items (in the case of an IntComboBox, the components must be whole numbers).
- Sign/[Ind]: Here, you have the option of using "Sign" to either set a constraint value, which is contained in the list, directly, or using "Ind" to select a value in a particular list position as a constraint value (the first element in the list is located at position 0)."Sign" or "[Ind]" are optional parameters.
- AsVal: If the optional "AsVal" parameter has been set, and does not equal 0, the return value becomes the input. Otherwise, the return value is the index of the selected entry.
IntEditComboBox:
Provides a editable combo box in which you can input a whole number. Please ensure that the values entered here are whole numbers.
[C:VDGL_IntComE,Prompt_str,[Entr_n],Sign_n/[Ind_n]]
- see IntComboBox
- ReturnVal: (return value). The return value is the input string.
RealComboBox:
Provides a combo box in which you can input a floating comma number.
[C:VDGL_RealCom,Prompt_str,[Entr_r],Sign_r/[Ind_n],0,0,AsVal_b]
RealEditComboBox:
Provides a editable combo box in which you can input a floating comma number.
[C:VDGL_RealComE,Prompt_str,[Entr_r],Sign_r/[Ind_n]]
- see IntComboBox
- ReturnVal: (return value). The return value is the input string.
StringComboBox:
Provides a combo box in which you can input a string.
[C:VDGL_StrCom,Prompt_str,[Entr_str],Sign_str/[Ind_n],AsPos_n]
- see IntComboBox
- AsPos: Contrary to the IntComboBox, the return value here represents the index of the selected field, if the optional parameter "AsPos" has been set and does not equal 0. Otherwise, the return value is the input.
StringEditComboBox:
Provides a editable combo box in which you can input a string.
[C:VDGL_StrCom,Prompt_str,[Entr_str],Sign_str/[Ind_n]]
- see IntComboBox
- ReturnVal (return value): The return value is the input string.
Code button:
Service button: