@Fred could this be implemented natively in PureBasic, e.g. with a new attribute on WebViewGadget?
SetGadgetAttribute(#WebViewGadget, #PB_Web_BlockAcceleratorKeys, #True)
https://learn.microsoft.com/en-us/dotnet/api/microsoft.web.webview2.core.corewebview2settings ...
Search found 287 matches
- Mon Dec 09, 2024 8:00 am
- Forum: Coding Questions
- Topic: WebViewGadget: Disable Printing?
- Replies: 3
- Views: 757
- Sat Dec 07, 2024 5:17 pm
- Forum: Coding Questions
- Topic: WebViewGadget: Disable Printing?
- Replies: 3
- Views: 757
WebViewGadget: Disable Printing?
Is there a possibility to disable the printing feature (CTRL+P) in the new WebViewGadget?
- Tue Mar 26, 2024 7:50 pm
- Forum: Feature Requests and Wishlists
- Topic: Additional WebGadget Flags
- Replies: 1
- Views: 695
Re: Additional WebGadget Flags
This does the trick:
SetEnvironmentVariable("WEBVIEW2_ADDITIONAL_BROWSER_ARGUMENTS", "--allow-insecure-localhost --ignore-certificate-errors")
OpenWindow(0, 0, 0, 800, 600, "Edge insecure localhost", #PB_Window_SystemMenu | #PB_Window_MaximizeGadget | #PB_Window_MinimizeGadget | #PB_Window ...
SetEnvironmentVariable("WEBVIEW2_ADDITIONAL_BROWSER_ARGUMENTS", "--allow-insecure-localhost --ignore-certificate-errors")
OpenWindow(0, 0, 0, 800, 600, "Edge insecure localhost", #PB_Window_SystemMenu | #PB_Window_MaximizeGadget | #PB_Window_MinimizeGadget | #PB_Window ...
- Sat Mar 16, 2024 11:22 am
- Forum: Feature Requests and Wishlists
- Topic: Additional WebGadget Flags
- Replies: 1
- Views: 695
Additional WebGadget Flags
Please add the following flags to the WebGadget:
Without these it is not possible to connect to self-signed certificates for testing purposes!
Code: Select all
#PB_HTTP_NoSSLCheck
#PB_HTTP_WeakSSL
- Thu Nov 09, 2023 10:13 pm
- Forum: Feature Requests and Wishlists
- Topic: PureBasic Pro
- Replies: 24
- Views: 6909
Re: PureBasic Pro
I'm looking for a native PB WebViewinfratec wrote: Thu Nov 09, 2023 9:31 pmHere you are:the.weavster wrote: Thu Nov 09, 2023 12:06 pm Ooh, I missed that. Fingers crossed for a WebViewGadget![]()
viewtopic.php?t=75898&start=135

- Thu Nov 09, 2023 6:00 pm
- Forum: Feature Requests and Wishlists
- Topic: PureBasic Pro
- Replies: 24
- Views: 6909
Re: PureBasic Pro
I have already offered Fred to help sponsor the development of the new WebViewGadget...the.weavster wrote: Thu Nov 09, 2023 12:06 pmOoh, I missed that. Fingers crossed for a WebViewGadgetskywalk wrote: Wed Nov 08, 2023 4:04 pm Fred already said the next PB version will be feature driven.![]()
- Sun Apr 30, 2023 4:41 pm
- Forum: Coding Questions
- Topic: AbortMail()
- Replies: 5
- Views: 817
Re: AbortMail()
We move this to Features and Requests?infratec wrote: Sun Apr 30, 2023 4:34 pm There should be send a RSET command maybe followed bye a QUIT.
I don't think that FreeMail() does this.
If you really need this ... libcurl.
- Sun Apr 30, 2023 2:07 pm
- Forum: Coding Questions
- Topic: AbortMail()
- Replies: 5
- Views: 817
Re: AbortMail()
Well it might do it, but I am not sure - should be confirmed by @Fred. I'd prefer a real AbortMail() function that then gives #PB_Mail_Aborted as return value of MailProgress()
- Sun Apr 30, 2023 11:17 am
- Forum: Coding Questions
- Topic: AbortMail()
- Replies: 5
- Views: 817
AbortMail()
Howdy
I am sending asynchronous mail and want to timeout after 15s - how to abort the operation? There is AbortFTPFile() and AbortHTTP() but no AbortMail()?
Timeout = ElapsedMilliseconds() + 15000
Result = SendMail(0, "smtp.free.fr", 25, #PB_Mail_Asynchronous)
Repeat
Progress = MailProgress(0 ...
I am sending asynchronous mail and want to timeout after 15s - how to abort the operation? There is AbortFTPFile() and AbortHTTP() but no AbortMail()?
Timeout = ElapsedMilliseconds() + 15000
Result = SendMail(0, "smtp.free.fr", 25, #PB_Mail_Asynchronous)
Repeat
Progress = MailProgress(0 ...
- Mon Apr 17, 2023 1:51 pm
- Forum: Announcement
- Topic: PureBasic 6.02 LTS is out !
- Replies: 89
- Views: 32724
Re: PureBasic 6.02 beta 1 is out !
PureBasic x64 Windows can no longer be installed on a Windows 11 running in Parallels on macOS ARM with the new installer?
Installer error message: This program can only be installed on versions of Windows designed for the following processor architectures: x64
(I could install the regular x64 ...
Installer error message: This program can only be installed on versions of Windows designed for the following processor architectures: x64
(I could install the regular x64 ...
- Thu Feb 09, 2023 3:13 pm
- Forum: Coding Questions
- Topic: JSON, Only Include Applied Data
- Replies: 2
- Views: 670
Re: JSON, Only Include Applied Data
maybe off-topic but in Go it's implemented like this:
type test struct {
a string
b string `json:",omitempty"`
}
a will always be present, also ""; b will only be present in the JSON when != ""
In PB we might have an additional parameter in ComposeJSON : #PB_JSON_OmitEmpty ?
type test struct {
a string
b string `json:",omitempty"`
}
a will always be present, also ""; b will only be present in the JSON when != ""
In PB we might have an additional parameter in ComposeJSON : #PB_JSON_OmitEmpty ?
- Thu Feb 02, 2023 10:11 am
- Forum: Coding Questions
- Topic: [SOLVED] Finding cause of a crashing application
- Replies: 10
- Views: 1537
Re: Finding cause of a crashing application
@Fred maybe?
Should this check not be included in the SendNetworkString / SendNetworkData functions?
Should this check not be included in the SendNetworkString / SendNetworkData functions?
- Sat Dec 10, 2022 7:55 pm
- Forum: Coding Questions
- Topic: Enumeration Name for #PB_Web_....
- Replies: 9
- Views: 1350
Re: Enumeration Name for #PB_Web_....
Yes pleaseinfratec wrote: Sat Dec 10, 2022 10:41 am I want to implement additional features to a WebView2 Gadget.

- Sun Jun 26, 2022 8:19 am
- Forum: Linux
- Topic: Ubuntu 20.04.2 ARM64
- Replies: 3
- Views: 1291
Re: Ubuntu 20.04.2 ARM64
Dear mk-soft
Yes, that worked now! Thank you!
But that raises a few more questions:
- wouldn't it make sense to have the following downloads available for Ubuntu?
Download PureBasic 6.00 LTS for Linux (Ubuntu 20.04 - x64)
Download PureBasic 6.00 LTS for Linux (Ubuntu 20.04 - arm64)
- when I ...
Yes, that worked now! Thank you!
But that raises a few more questions:
- wouldn't it make sense to have the following downloads available for Ubuntu?
Download PureBasic 6.00 LTS for Linux (Ubuntu 20.04 - x64)
Download PureBasic 6.00 LTS for Linux (Ubuntu 20.04 - arm64)
- when I ...
- Sat Jun 25, 2022 4:37 pm
- Forum: Linux
- Topic: Ubuntu 20.04.2 ARM64
- Replies: 3
- Views: 1291
Ubuntu 20.04.2 ARM64
Will PureBasic v6 run on Ubuntu 20.04.2 ARM64? I am trying to get it running with Parallels on my M1 MacBook and always getting the error "binary invalid"...