📚 SAP Business One SDK Help

ChooseFromListCreationParams Object
See Also  Members  Example

Description

Contains information for defining a new ChooseFromList.

Mandatory properties: UniqueID and ObjectType

Example

Adding a ChooseFromList object (Visual Basic)Copy Code
Dim oCFLCreationParams As SAPbouiCOM.ChooseFromListCreationParams
Dim oChooseFromlists As SAPbouiCOM.ChooseFromListCollection

Set oCFLCreationParams = SBO_Application.CreateObject(cot_ChooseFromListCreationParams)
oCFLCreationParams.IsMultiSelection = False
oCFLCreationParams.uniqueID = "MyCFL"
oCFLCreationParams.ObjectType = "2"

Set oChooseFromlists = oForm.ChooseFromLists
oChooseFromlists.Add(oCFLCreationParams)

See Also