new DuForm()
D:/DEV_SRC/RxOT/DuPSF/tools/output/DuPSF.jsxinc, line 11324
Properties:
| Name | Type | Description |
|---|---|---|
labels |
Group | The left vertical group |
buttons |
Group | The right vertical group |
Methods
-
staticDuForm.addField(label, type, value, helpTip){Array.<ScriptUI>}
D:/DEV_SRC/RxOT/DuPSF/tools/output/DuPSF.jsxinc, line 11336 -
Adds a field to the form example: form.addField('Composition:','dropdownlist',['Composition1','Composition2'],'Select a composition')
Name Type Description labelstring The label text. typestring The type of ScriptUI object to add (like 'button','edittext', etc.). valueobject optional The default value or content of the field added, depends on the type. helpTipstring optional The helpTip of the form control. Returns:
Type Description Array.<ScriptUI> An array with at 0 the StaticText label, and at 1 the ScriptUI object of the type type, added to the form