ImageComboBox-AddString

Function Name dcl-ImageComboBox-AddString
Syntax   (dcl-ImageComboBox-AddString <CONTROL> NewItem [as String] ImageIndex [as Integer] {SelectedImageIndex [as Integer]} {Indent [as Integer]} {Index [as Integer]})
Return Type Long
Applies To Image Combo Box

此方法将新项目追加或插入到组合框列表中。 ImageIndex和SelectedImageIndex分别是未选择或选择项目时要显示的图像。 缩进是将项目从边缘缩进的距离(以像素为单位)。 索引是插入新项目的位置。 如果未指定Index,则会追加项目。 返回值是新项目的索引(基于零)。