I try with canvas, networks, sounds and other things, with result positive, all woork as espected.
We need in PB6 this #PB_OS_Windows_Windows11
Personal opinion about 11:
Windows11 is not bad. As allways a lot of programas you never goes to use.
Because all computer now comes with last windows, the option is only one.. if you are programmer, developer, student.. install windows 11 in one machine to test your programas in a real environment..
Whats the next?? Windows 'millenians' (gta included) ?
PB question under my ignorance:
If PB use as webgadget Explorer, PB now use Edge?, because windows 11 have no explorer.
Then why i have the message 'script error' when use javascript?
try the example included and you will see.
Code: Select all
Procedure NavigationCallback(Gadget, Url$) ;Windows only
If Url$= "https://www.purebasic.com/news.php"
MessageRequester("", "No news today!")
ProcedureReturn #False
Else
ProcedureReturn #True
EndIf
EndProcedure
If OpenWindow(0, 0, 0, 600, 300, "WebGadget", #PB_Window_SystemMenu | #PB_Window_ScreenCentered)
WebGadget(0, 10, 10, 580, 280, "https://www.purebasic.com")
SetGadgetAttribute(0, #PB_Web_NavigationCallback, @NavigationCallback())
Repeat
Until WaitWindowEvent() = #PB_Event_CloseWindow
EndIf
Greetings and have nice day!!
I7-10700 1650GTX 16Gb RAM