Due to my knowledge, the PB WebViewGadget is based on the webview project. Maybe this points to the correct direction for any additional API?
The available webview API is here. The function webview_get_native_handle looks promising...
Search found 1159 matches
- Mon Jun 23, 2025 8:51 am
- Forum: Coding Questions
- Topic: WebViewGadget() access to settings / features ?
- Replies: 8
- Views: 426
- Fri Jun 20, 2025 11:27 am
- Forum: General Discussion
- Topic: Anyone did a better InputRequester module or include?
- Replies: 17
- Views: 1586
Re: Anyone did a better InputRequester module or include?
Huh? Two days ago I posted my final dialog code and Fred did even enhance it for DPI awareness, and all is gone? I think a backup was installed after the server outage?
This is my current inputDialog function. Unfortunatelly, I did not yet copy the enhanced version of Fred.
@Fred: Can you please ...
This is my current inputDialog function. Unfortunatelly, I did not yet copy the enhanced version of Fred.
@Fred: Can you please ...
- Tue Jun 17, 2025 7:58 am
- Forum: General Discussion
- Topic: Anyone did a better InputRequester module or include?
- Replies: 17
- Views: 1586
Re: Anyone did a better InputRequester module or include?
I was to fast...
New => This should meet your requirements.
Hi Axolotl, yes, this is exactly what I needed. THANK YOU :D
Well, therefore it is impossible without using API outside of PB standard functions. Really sad. I was away from PB for a while and got the impression that Fred is also ...
- Mon Jun 16, 2025 1:50 pm
- Forum: General Discussion
- Topic: Anyone did a better InputRequester module or include?
- Replies: 17
- Views: 1586
Re: Anyone did a better InputRequester module or include?
maybe you can start with something like this...
Thank you, but your example dialog needs the user to resize. It resizes the input field if the user resizes the dialog. This is not what I want. Maybe I'm simply not able to describe my needs correctly :(
a.s = InputRequester("title", "Lorem ...
- Mon Jun 16, 2025 1:31 pm
- Forum: General Discussion
- Topic: Anyone did a better InputRequester module or include?
- Replies: 17
- Views: 1586
Re: Anyone did a better InputRequester module or include?
...calculating dialog height than using drawing functions and doing my own word wrap...
Maybe the only option :? or... you can try to doing it with html and WebViewGadget, I don't know.... :P
Hm. The WebViewGadget and WebGadget are gadgets created in an ordinary window using width and height ...
- Mon Jun 16, 2025 10:20 am
- Forum: General Discussion
- Topic: Anyone did a better InputRequester module or include?
- Replies: 17
- Views: 1586
Re: Anyone did a better InputRequester module or include?
Take a look to this thread, maybe you can use (or modify to your needs) it:
https://www.purebasic.fr/english/viewtopic.php?p=564489#p564489
Thanks, but all of these examples using fixed dialog heights. Also, I can't find any automatic word wrap there?
My dialog message is concatenated during ...
- Mon Jun 16, 2025 9:36 am
- Forum: General Discussion
- Topic: Anyone did a better InputRequester module or include?
- Replies: 17
- Views: 1586
Anyone did a better InputRequester module or include?
Hi,
for a quick project I need a simple input requester that allows wordwrapped multiline message on top of the input field . It needs to adapt the height automatically to fit to the message text. I thought this is nothing special and a no-brainer, but the existing InputRequester is not capable of ...
for a quick project I need a simple input requester that allows wordwrapped multiline message on top of the input field . It needs to adapt the height automatically to fit to the message text. I thought this is nothing special and a no-brainer, but the existing InputRequester is not capable of ...
- Fri Feb 21, 2025 8:11 am
- Forum: Tricks 'n' Tips
- Topic: libcurl.pbi
- Replies: 133
- Views: 53009
Re: libcurl.pbi
Thank you! 

- Thu Feb 20, 2025 10:47 am
- Forum: Tricks 'n' Tips
- Topic: libcurl.pbi
- Replies: 133
- Views: 53009
Re: libcurl.pbi
Looks like curl_mime_data_cb() ( link ) and a matching callback reader are missing? How do you guys send emails with attachments from memory then? I don't like to save the file first to later use curl_mime_filedata() and then wipe it.
Anyone already implemented that?
UPDATE:
I added the ...
Anyone already implemented that?
UPDATE:
I added the ...
- Mon Feb 17, 2025 9:08 am
- Forum: Coding Questions
- Topic: PB6.20 - WebViewGadget - WaitWindowEvent() can not be called from a 'binded' event callback?
- Replies: 2
- Views: 453
Re: PB6.20 - WebViewGadget - WaitWindowEvent() can not be called from a 'binded' event callback?
Thanks, I will try this!
- Fri Feb 14, 2025 11:56 am
- Forum: Coding Questions
- Topic: PB6.20 - WebViewGadget - WaitWindowEvent() can not be called from a 'binded' event callback?
- Replies: 2
- Views: 453
PB6.20 - WebViewGadget - WaitWindowEvent() can not be called from a 'binded' event callback?
Hi. How do I work around this limitation to prevent this error message?
Test code:
Html$ = ~"<button id=\"displayInfo\">Display Info</button>\n"+
~"<script>\n"+
~" const displayInfoElement=document.getElementById(\"displayInfo\");\n"+
~" document.addEventListener(\"DOMContentLoaded\", () => {\n ...
Test code:
Html$ = ~"<button id=\"displayInfo\">Display Info</button>\n"+
~"<script>\n"+
~" const displayInfoElement=document.getElementById(\"displayInfo\");\n"+
~" document.addEventListener(\"DOMContentLoaded\", () => {\n ...
- Fri Feb 14, 2025 9:06 am
- Forum: Coding Questions
- Topic: PAC file parsing using WebViewGadget?
- Replies: 1
- Views: 287
- Fri Feb 14, 2025 9:05 am
- Forum: Announcement
- Topic: PB6.20 | PAC file parser
- Replies: 0
- Views: 2315
PB6.20 | PAC file parser
Hi,
this is a PAC file parser using the new WebViewGadget as JavaScript engine. This are the features:
compiles to a single file (needed js functions are included in the compiled binary)
handles the provided PAC file content (you need to load/read the pac file by yourself)
tested with PB 6.20 ...
this is a PAC file parser using the new WebViewGadget as JavaScript engine. This are the features:
compiles to a single file (needed js functions are included in the compiled binary)
handles the provided PAC file content (you need to load/read the pac file by yourself)
tested with PB 6.20 ...
- Thu Feb 13, 2025 12:32 pm
- Forum: General Discussion
- Topic: Website incredibly slow?
- Replies: 78
- Views: 17166
Re: Website incredibly slow?
Horrible slow for me, too 

- Wed Feb 12, 2025 12:42 pm
- Forum: Coding Questions
- Topic: Has anyone tried to use Google's popup oauth authentication in an application being included in WebViewGadget?
- Replies: 3
- Views: 1395
Re: Has anyone tried to use Google's popup oauth authentication in an application being included in WebViewGadget?
Hello all !!
Has anyone tried to use Google's popup oauth authentication in an application being included in WebViewGadget?
Since it is necessary to create a popup outside the main window, I believe it is not yet possible.
What do you recommend me to do?
Hi. Have you seen my post about OAuth2 ...