setList
Syntax
<Path>.setList(DialogItem:string, List:any) → boolean |
The method setList sets the items of a list that the dialog items below show.
Parameters
The parameter DialogItem of data type string designates a dialog item of type New List Box, New Drop-Down List Box or New Tab Control.
The parameter List of data type any designates the one-columned list into which you enter the Items which the dialog items list box or drop-down list box shows. For the New Tab Control, it sets the captions of the individual tabs.
Return Value
The return value has the data type boolean. The return value true shows that the item in the list was addressed and that it changed its display.
Example
var units: list[string] |
MyDialog.setList("sedan",ListSedan) |
Related Topics
Methods of the DialogclearData
close (Dialog)
closeDialog (Dialog)
createButton
createCheckBox
createDropDownListBox
createEditTextBox
createGroupBox
createImage
createListBox
createListView
createMenu
createRadioButton
createStaticTextBox
createTabControl
createTabPage
getCheckBox
getIcon
getIndex
getItemsList
getPasswordMasking
getTable (List View)
getTableRow
getUserDialogXYWH
getValue (Dialog)
open (Dialog)
openDialog (Dialog)
setCallbackArgument
setCaption
setCheckBox
setEditType
setGroupID
setIcon
setIndex
setPasswordMasking
setSensitive
setTab
setTable (Dialog)
setTableRow
updateUserDialog