Search found 1211 matches: resize

Return to advanced search

Error en Listbox.

... BASE/1081 Argument error: + Args: [ 1] = N 0 [ 2] = A { ... } Stack Calls =========== Called from: .\source\classes\WBROWSE.PRG => TWBROWSE:RESIZE( 656 ) Called from: => TWINDOW:HANDLEEVENT( 0 ) Called from: .\source\classes\CONTROL.PRG => TCONTROL:HANDLEEVENT( 1700 ) Called from: ...
by José Camilo
Sun Mar 24, 2024 10:27 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Error en Listbox.
Replies: 1
Views: 304

Re: WebView resize

Hello friends, I tried to map the FiveWin components Splitter, TEXplorerBar, Buttons, Panels, and TSay, Memo to a WebView2 embedded application: Best regards, Otto SPLITTER: While there's no direct HTML equivalent for a splitter, you can create a resizable split view using JavaScript and CSS. This w...
by Otto
Thu Mar 21, 2024 10:55 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: WebView resize
Replies: 9
Views: 2072

Splitter and Resize window

...     OF oWnd     oSplit:lStatic:=.t.     oSplit:AdjLeft()    oWnd:aMinMaxInfo := { nil, nil, ,, 750,550, , }   ACTIVATE WINDOW oWnd ;           ON RESIZE DoResize( oWnd, oSplit, oFld1, oFld2 ) CENTERRETURN NILPROCEDURE DoResize( oWnd, oSplit, oFld1, oFld2 )LOCAL nTop       := oWnd:nTopLOCAL nBottom ...
by Silvio.Falconi
Thu Mar 21, 2024 11:13 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Splitter and Resize window
Replies: 0
Views: 237

Re: change size dialog selecting noption folder

Dear Silvio, In FWH 24.02 we removed a call to ::Resize() from Class TWindow Method Activate() We have restored it providing it the right parameters: ::Resize( 0, ::nWidth, ::nHeight ) If you are using FWH 24.02 please restore that line fixed as ...
by Silvio.Falconi
Fri Mar 15, 2024 9:53 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: change size dialog selecting noption folder
Replies: 3
Views: 615

Re: change size dialog selecting noption folder

Dear Silvio, In FWH 24.02 we removed a call to ::Resize() from Class TWindow Method Activate() We have restored it providing it the right parameters: ::Resize( 0, ::nWidth, ::nHeight ) If you are using FWH 24.02 please restore that line fixed as ...
by Antonio Linares
Fri Mar 15, 2024 9:46 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: change size dialog selecting noption folder
Replies: 3
Views: 615

Re: WebView resize

Dear Otto,

> I wish you a nice weekend

Thank you, same for you :-)
by Antonio Linares
Sat Mar 09, 2024 9:21 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: WebView resize
Replies: 9
Views: 2072

Re: WebView resize

... with desktop controls is easy with the WebView. Thanks again. I wish you a nice weekend. Best regards, Otto https://mybergland.com/fwforum/resize.gif
by Otto
Sat Mar 09, 2024 8:50 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: WebView resize
Replies: 9
Views: 2072

Re: WebView resize

Dear Otto, You are creating a new TWebView object on each PAINT event! You have to modify your code this way: function webshow(console,hWnd, nlink)   local hPost := {}   local cHtmlOrUrl :=  "C:\fwh2023\samples\address.html"   if Empty( oWebView )      oWebView :=...
by Antonio Linares
Sat Mar 09, 2024 8:12 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: WebView resize
Replies: 9
Views: 2072

Re: WebView resize

Dear Antonio, attached the source code. Best regards, Otto PRG: #include "FiveWin.ch"#include "Splitter.ch"static oWndstatic h := {=>}static csend2js := "send from Harbour"static oWebView, oWebView2//---------------------------------------------------------...
by Otto
Sat Mar 09, 2024 7:31 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: WebView resize
Replies: 9
Views: 2072

Re: WebView resize

Dear Otto,

The Windows 11 antivirus deletes your file as soon as I download it. I have tried it several times, same result.

Please copy the PRG contents here, thanks
by Antonio Linares
Sat Mar 09, 2024 6:24 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: WebView resize
Replies: 9
Views: 2072

Re: WebView resize

Dear Antonio,
Here is my test:

https://mybergland.com/fwforum/wv_samples.zip

If you resize the dialog and then press cancel it errors out.


Best regards,
Otto
by Otto
Fri Mar 08, 2024 9:46 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: WebView resize
Replies: 9
Views: 2072

Re: WebView resize

Dear Otto,

Please post the complete PRG

Are you using Class TWebView or the new Class TWebView2 ?
by Antonio Linares
Fri Mar 08, 2024 7:34 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: WebView resize
Replies: 9
Views: 2072

Re: WebView resize

Dear Antonio,
Even though I do not use the code block bResized, but the DIALOG is resizable and I have changed the size, then I also get the error.
Best regards,
Otto


h['oDlg']:bResized := { || oWebView:SetSize(600, 800) }'
by Otto
Fri Mar 08, 2024 10:35 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: WebView resize
Replies: 9
Views: 2072

WebView resize

... pressing the "Cancel" button within the WebView (HTML), the program encounters an error, but this only occurs if the DIALOG has been resized. Here's the relevant code snippet: h['oDlg']:bResized := { || oWebView:SetSize(600, 800) } Inside the function `fromjavascript(hPost)`, if the ...
by Otto
Fri Mar 08, 2024 10:26 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: WebView resize
Replies: 9
Views: 2072

Re: To Nageswrao Del Objs on TscrollPanel

... you can see on this picture https://i.postimg.cc/yxvLBT2Q/test.jpg I have 3 buttons   Admin , Procedure 5, Procedure 5 only whe I resize the explorerbar or size the main window the tpanel is refreshed but the second button is not clickable  https://i.postimg.cc/t4tYgmB4/out.jpg
by Silvio.Falconi
Wed Mar 06, 2024 10:53 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: To Nageswrao Del Objs on TscrollPanel
Replies: 17
Views: 635
Next

Return to advanced search