Disculpen la molestia.
Solucionado con oView:SetParent(oPanel)
Saludos
Search found 9 matches: setparent
Searched query: setparent
- Fri Nov 22, 2024 4:05 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: Most powerfull Xbrowser and PDF
- Replies: 16
- Views: 3803
- Wed Jan 10, 2024 7:05 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: WebView2 Essentials: Guides, Tips & Resources
- Replies: 2
- Views: 758
Re: WebView2 Essentials: Guides, Tips & Resources
... nWidth, nHeight, nHints): Sets the size of the web view window with optional size hints.
Print(): Invokes the print function of the web view.
SetParent(oWnd): Sets the parent window of the web view.
SetUserAgent(cUserAgent): Sets the user agent string of the web view.
Terminate(): Terminates ...
Print(): Invokes the print function of the web view.
SetParent(oWnd): Sets the parent window of the web view.
SetUserAgent(cUserAgent): Sets the user agent string of the web view.
Terminate(): Terminates ...
- Thu Jun 29, 2023 1:36 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: Webview question
- Replies: 36
- Views: 6950
Webview question
... t. )
return nil
FUNCTION CreateWebView(oDlg, cUrl)
LOCAL oWebView
oWebView := TWebView():New()
Msginfo("webview new")
oWebView:SetParent( oDlg )
oWebView:bOnBind = { | cJson, nCalls | MsgInfo( cJson, nCalls ) }
oWebView:Bind( "SendToFWH" )
RETURN oWebView
FUNCTION ValidWebView ...
return nil
FUNCTION CreateWebView(oDlg, cUrl)
LOCAL oWebView
oWebView := TWebView():New()
Msginfo("webview new")
oWebView:SetParent( oDlg )
oWebView:bOnBind = { | cJson, nCalls | MsgInfo( cJson, nCalls ) }
oWebView:Bind( "SendToFWH" )
RETURN oWebView
FUNCTION ValidWebView ...
- Fri Apr 14, 2023 8:52 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: Change of control owner
- Replies: 1
- Views: 205
Re: Change of control owner
Dear Yuri,
When you create the TButton you use .. OF <TPanelObject>
Another way is to use Windows API function SetParent()
https://learn.microsoft.com/en-us/windo ... -setparent
When you create the TButton you use .. OF <TPanelObject>
Another way is to use Windows API function SetParent()
https://learn.microsoft.com/en-us/windo ... -setparent
- Mon Dec 26, 2022 4:36 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: WebView window
- Replies: 16
- Views: 1583
Re: WebView window
Yes, I need to make frequent site requests and read the changes. This is a very convenient algorithm for me and I do not understand why in this case the code block :bonBind does not work
the oWebKds:SetParent() method works, but the oWebKds:Eval() method does not
the oWebKds:SetParent() method works, but the oWebKds:Eval() method does not
- Mon Dec 12, 2022 10:39 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: WebView on a non-modal window
- Replies: 3
- Views: 413
WebView on a non-modal window
... work of the program is not performed because WebView is still a modal window :(
DEFINE DIALOG oKds FROM 0,0 TO 0,0 PIXEL ;
STYLE nOR(WS_POPUP) COLOR CLR_BLACK, CLR_WHITE
ACTIVATE DIALOG oDlg NOWAIT
oWebView := TWebView():New()
oWebView:SetParent(oDlg)
oWebView:Run()
oWebView:Destroy()
DEFINE DIALOG oKds FROM 0,0 TO 0,0 PIXEL ;
STYLE nOR(WS_POPUP) COLOR CLR_BLACK, CLR_WHITE
ACTIVATE DIALOG oDlg NOWAIT
oWebView := TWebView():New()
oWebView:SetParent(oDlg)
oWebView:Run()
oWebView:Destroy()
- Sat Dec 10, 2022 9:27 am
- Forum: FiveWin para Harbour/xHarbour
- Topic: incrustar webview en un TDockPnel - SOLUCIONADO
- Replies: 19
- Views: 2234
Re: incrustar webview en un TDockPnel
Estimado Leandro,
La clase TWebView no tiene la DATA hWnd sino que tienes que usar este método GetWindow():
SetParent( oB:GetWindow(), o:hWnd )
Aún asi, se queda como congelado, sin poder moverlo con el ratón. Estoy revisándolo por si veo algo más
La clase TWebView no tiene la DATA hWnd sino que tienes que usar este método GetWindow():
SetParent( oB:GetWindow(), o:hWnd )
Aún asi, se queda como congelado, sin poder moverlo con el ratón. Estoy revisándolo por si veo algo más
- Mon Dec 05, 2022 12:54 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: Questions about WebView
- Replies: 26
- Views: 2424
Re: Questions about WebView
I am creating an oWebview object:=TWebview():New and specify for it the parent POPUP dialog box oDlg - oWebview:SetParent(oDlg).
1. Whether the webview will be resized automatically when the parent window is resized ?
2. Is it possible to refer to the oWebview object as a control (a la oDlg ...
1. Whether the webview will be resized automatically when the parent window is resized ?
2. Is it possible to refer to the oWebview object as a control (a la oDlg ...
- Wed Nov 23, 2022 3:46 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: Questions about WebView
- Replies: 26
- Views: 2424
Re: Questions about WebView
3 and 4.:
Class TWebView provides a Method SetParent( oWnd ) so you can make it child of any window, dialog or control
Class TWebView provides a Method SetParent( oWnd ) so you can make it child of any window, dialog or control