It always return undefined:Param Position : #PB_Any can be used, in which case the return-value will be the new number assigned by PB.
Code: Select all
OpenWindow(0, 0, 0, 200, 100, "")
combo = ComboBoxGadget(#PB_Any, 10, 10, 180, 20)
Debug AddGadgetItem(combo, 0, "t1")
Debug AddGadgetItem(combo, 1, "t2")
Debug AddGadgetItem(combo, -1, "t3")
Debug AddGadgetItem(combo, #PB_Any, "t4")