webview2 object WINDOW/DIALOG

webview2 object WINDOW/DIALOG

Postby Otto » Fri Aug 19, 2022 11:23 pm

Dear Antonio,
Can you show us how to display a webview2 object inside a control on a window or dialog?

Best regards,
Otto
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6340
Joined: Fri Oct 07, 2005 7:07 pm

Re: webview2 object WINDOW/DIALOG

Postby Horizon » Sat Aug 20, 2022 7:51 am

Otto wrote:Dear Antonio,
Can you show us how to display a webview2 object inside a control on a window or dialog?

Best regards,
Otto


Hi Mr. Otto.

You can look at the last example. http://forums.fivetechsupport.com/viewtopic.php?f=3&t=42010&start=30&sid=8b9b5df0c5c1881b0fda1306ebcce562
Regards,

Hakan ONEMLI

Harbour & MSVC 2022 & FWH 23.04
Horizon
 
Posts: 1322
Joined: Fri May 23, 2008 1:33 pm

Re: webview2 object WINDOW/DIALOG

Postby Antonio Linares » Sat Aug 20, 2022 8:24 am

Dear Otto,

oWebView:SetParent( oWnd )
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42120
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: webview2 object WINDOW/DIALOG

Postby Otto » Sat Aug 20, 2022 8:26 am

Hi Hakan,
thank you.
I will run all the samples of the post you mentioned.

I tested with:

METHOD SetParent( oWnd ).
I will try to extend the method and pass width and height and top.

This is such a great class.
Here is a test with bootstrap button. I think now HTML for reports is perfect.

Image

Best regards,
Otto
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6340
Joined: Fri Oct 07, 2005 7:07 pm


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 67 guests