
In the below example, the Properties dialog (that pops up when the Show properties button is clicked) is modal. How could I make it non-modal?
Code: Select all
OpenWindow(0, 100, 100, 440, 380, "", #PB_Window_SizeGadget |#PB_Window_SystemMenu)
ButtonGadget(1,60,60,200,30,"Show properties...")
TextGadget(12, 20, 20, 200, 20, "TEST")
WebGadget(3,40, 120, 300, 200, "https://www.bing.com/")
webBrowser.IWebBrowser2 = GetWindowLong_(GadgetID(3), #GWL_USERDATA)
Repeat
Select WaitWindowEvent()
Case #PB_Event_Gadget
if EventGadget() = 1 :
WebBrowser\ExecWB( 10, 1, 0, 0)
endif
Case #PB_Event_SizeWindow : beep_(4242,232) :
ResizeGadget(12,WindowWidth(0) - 100, 50, 200,20)
ResizeGadget(3, 40, 120, WindowWidth(0) - 60, 200)
Case #PB_Event_CloseWindow : End
EndSelect
ForEver