diff --git a/source/minibrowser.pb b/source/minibrowser.pb index db39ebd..d732312 100644 --- a/source/minibrowser.pb +++ b/source/minibrowser.pb @@ -96,7 +96,7 @@ If OpenWindow(0, 100, 200, 800, 600, "MiniBrowser", #PB_Window_MinimizeGadget | WebGadget(10, 1, 37, 1278, 732,"") AddKeyboardShortcut(0, #PB_Shortcut_Return, 0) - + ; Use bindevent() to have a realtime window resize BindEvent(#PB_Event_SizeWindow, @ResizeWebWindow()) ResizeWebWindow() ; Adjust the gadget to the current window size @@ -110,7 +110,7 @@ If OpenWindow(0, 100, 200, 800, 600, "MiniBrowser", #PB_Window_MinimizeGadget | Repeat Event = WaitWindowEvent() - + Select Event Case #PB_Event_Gadget Select EventGadget() @@ -123,17 +123,19 @@ If OpenWindow(0, 100, 200, 800, 600, "MiniBrowser", #PB_Window_MinimizeGadget | Case 5 SetGadgetText(10, GetGadgetText(4)) EndSelect + Case #PB_Event_Menu ; We only have one shortcut - SetGadgetText(10, GetGadgetText(4)) + SetGadgetText(10, GetGadgetText(4)) + EndSelect Until Event = #PB_Event_CloseWindow - + EndIf ; IDE Options = PureBasic 5.73 LTS (Windows - x64) -; CursorPosition = 105 -; FirstLine = 79 +; CursorPosition = 98 +; FirstLine = 77 ; Folding = - ; EnableXP ; UseIcon = internet_free_icon.ico diff --git a/tools/minibrowser.exe b/tools/minibrowser.exe index 29feb30..d908477 100644 Binary files a/tools/minibrowser.exe and b/tools/minibrowser.exe differ