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
Dear Antonio, When I use h['oDlg']:bResized := { || oWebView:SetSize(600, 800) } inside the FIVEWIN DIALOG after pressing the "Cancel" button within the WebView (HTML), the program encounters an error, but this only occurs if the DIALOG has been ...
... nBindResult, cFromPrgToJS): Handles the return value from a bound function. SetTitle(cTitle): Sets the title of the web view window. SetSize(nWidth, nHeight, nHints): Sets the size of the web view window with optional size hints. Print(): Invokes the print function of the web view. ...
... ) Also if I insert an URI encoded cHTML source. oWebView:Navigate( Html() ) I need the FIVEWIN function to encodeURI. Also, the line: oWebView:SetSize( 1960, 800 ) is not respected. Best regards, Otto https://mybergland.com/fwforum/webviewaccordeon.jpg #include "FiveWin.ch"//----------------------------------------------------------------------------//static ...
As of now the FWPDF class does not support the method SetSize( nWidth, nHeight ) This class supports only SetPage( nPageType ), same as TPrinter class. The permitted page sizes are: { { DMPAPER_LETTER, HPDF_PAGE_SIZE_LETTER, ...
... => FWPDF:ERROR( 0 ) Called from: source\rtl\tobject.prg => FWPDF:MSGNOTFOUND( 0 ) Called from: source\rtl\tobject.prg => FWPDF:SETSIZE( 0 ) Called from: vta1214.prg => VTA1100PE( 242 ) Parece un problema del SIZE. ¿ Como se arregla ? Gracias !!!
... nRGB( 0, 100, 255 ) ) then to remake the border use the Uwe's solution DEFINE DIALOG oDlg..... oDlg:bPainted := < |hDC| oBtn:setsize(20,17.6) // this because the obtn is more big with png DRAWBORDER( hDC, oBtn:nLeft-2, oBtn:ntop-2,; oBtn:nWidth+2, oBtn:nHeight+2 , 0, 1, Rgb(195,195,185), ...
Marc, phone.prg could be a starting point. Best regards, Otto PS:comment modem function to get it running ACTIVATE DIALOG oDlg ; ON INIT ( oDlg:SetSize( 0, HALF_SIZE ),; oHangDown:Hide(), oLocalNum:Hide(),; // If( ! lInitModem(), oDlg:End(),),; EnableCommNotification( nComm, oDlg:hWnd, IN_BUFFER, ...
Hola Amigos. Con oFoto:Refresh(), solo se ve una parte pequeña del DIALOG, pero con esto si funcionó ACTIVATE DIALOG oDlg ON INIT ( oDlg:SetSize(840,650) , oDlg:Move(100, 1), oFoto:SetSource(aDats[17]) ) Pero solo con oDlg:SetSize(840,650) , y como repito, cuando se activa NOCAPTION en el ...
... cName ,"HEIGHT",nHigh*yFactor) SetProperty( cForm, cName ,"FONTSIZE",nFont*yFactor) NEXTRETURN --- i found :SetSize() but no :SetPos() :( what shell i use :?: SetWindowPos( oObj:hWnd, HWND_TOP, X, Y, Width, Height ) or SetBounds( X, Y, Width, Height ...
Prueba y comenta si ves los cambios de los diferentes tipos de paginas y tamaños #include "FiveWin.Ch"FUNCTION Main()LOCAL oPrn, oFont1, oFont2 Define Font oFont1 Name 'Arial' Size 60, 95 Of oPrn Define Font oFont2 Na...