Hi,
This source:
Code: Select all
If OpenWindow(0, 0, 0, 400, 300, #PB_Window_SystemMenu|#PB_Window_MinimizeGadget|#PB_Window_MaximizeGadget|#PB_Window_SizeGadget|#PB_Window_TitleBar, "FooBar") CreateGadgetList(WindowID())
ComboBoxgadget(1, 20, 20, 200, 20, #PB_ComboBox_Editable)
AddGadgetItem(1, -1, "foo")
AddGadgetItem(1, -1, "bar")
While quit=0
ev.l=WaitWindowEvent()
While ev0
If ev=#PB_Event_CloseWindow : quit=1 : EndIf
ev=WindowEvent()
Wend
Wend
CloseWindow(0)
EndIf
End
Have I got something wrong or is this a bug?
--
It's not minimalist - I'm increasing efficiency by reducing input effort.
(Win98first ed. + SP1, PB3.40)