Is there a way to perform functions within purebasic through the website loaded in WebViewGadget?

Just starting out? Need help? Post your questions and find answers here.
User avatar
skinkairewalker
Enthusiast
Enthusiast
Posts: 799
Joined: Fri Dec 04, 2015 9:26 pm

Is there a way to perform functions within purebasic through the website loaded in WebViewGadget?

Post by skinkairewalker »

Hi everyone !!
how are you ?

Currently, it is possible to use the function: WebViewExecuteScript to execute a javascript function within the website loaded with WebViewGadget, but what about doing the opposite, when clicking on a button within the website, executing a native function in purebasic?

Is it possible to intercept any signal sent from the Site to Purebasic and execute some native function?


Thanks in advance for everyone's attention.
DarkDragon
Addict
Addict
Posts: 2347
Joined: Mon Jun 02, 2003 9:16 am
Location: Germany
Contact:

Re: Is there a way to perform functions within purebasic through the website loaded in WebViewGadget?

Post by DarkDragon »

BindWebViewCallback?
bye,
Daniel
User avatar
skinkairewalker
Enthusiast
Enthusiast
Posts: 799
Joined: Fri Dec 04, 2015 9:26 pm

Re: Is there a way to perform functions within purebasic through the website loaded in WebViewGadget?

Post by skinkairewalker »

sorry for the layman question xD
Post Reply