Mint 18 Sarah 5.44 LTS (Linux - x64)
See below...
Code: Select all
If OpenWindow(0, 0, 0, 350, 200, "ComboBoxTest", #PB_Window_SystemMenu | #PB_Window_ScreenCentered)
ComboBoxGadget(1, 10, 10, 200, 21)
For a = 1 To 30
AddGadgetItem(1, -1,"ComboBox item " + Str(a))
Next
SetGadgetState(1, 2) ; set (beginning with 0) the third item as active one
Repeat : Until WaitWindowEvent() = #PB_Event_CloseWindow
EndIf