Search found 223 matches: setsize

Return to advanced search

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: 2101

WebView resize

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 ...
by Otto
Fri Mar 08, 2024 10:26 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: WebView resize
Replies: 9
Views: 2101

Re: WebView2 Essentials: Guides, Tips & Resources

... 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. ...
by Otto
Wed Jan 10, 2024 7:05 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: WebView2 Essentials: Guides, Tips & Resources
Replies: 2
Views: 481

accordion and webview2

... ) 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 ...
by Otto
Mon Jan 08, 2024 1:11 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: accordion and webview2
Replies: 2
Views: 435

Re: Create a Panel width a text

If I made IF oDlgBacheca:nresult == IDOK aDim = GetLabelDim( oPanel2:hWnd, cMessage , oFont:hFont ) oPanel:setsize(aDim[ 1 ] + 60, aDim[ 2 ] + 50) oPanel:SetColor( "N/W*" ) oPanel:bPainted = { | hDC | DrawTextTransparent( hDC, cMessage , { 10, 10, aDim[ 1 ] + 100, ...
by Silvio.Falconi
Sat Jan 06, 2024 6:02 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Create a Panel width a text
Replies: 29
Views: 3192

Re: IMPRESION ARCHIVOS PDF

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, ...
by nageswaragunupudi
Wed Oct 11, 2023 4:10 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: IMPRESION ARCHIVOS PDF
Replies: 27
Views: 1612

Re: IMPRESION ARCHIVOS PDF

... => 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 !!!
by pedroluis
Tue Oct 10, 2023 7:15 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: IMPRESION ARCHIVOS PDF
Replies: 27
Views: 1612

Re: Bad look btnbmp disable()

... 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), ...
by Silvio.Falconi
Thu Mar 09, 2023 9:25 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Bad look btnbmp disable()
Replies: 9
Views: 723

Re: Xbrowse and Touchscreen best use

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, ...
by Otto
Sun Feb 19, 2023 9:29 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Xbrowse and Touchscreen best use
Replies: 8
Views: 627

Re: Resize TFolder() / TFolderEx() : Dialogs

Dear Jimmy,

Please try:

oTab:aDialogs[ ii ]:SetSize( nWidth, nHeight )
by Antonio Linares
Sat Feb 11, 2023 11:10 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Resize TFolder() / TFolderEx() : Dialogs
Replies: 3
Views: 316

Re: Tamaño de la hoja

Buenos días,

Un workaround buscando funcionalidad sería:

Usar oPrn:SetSize() ( PrnSetSize() ) en vez de oPrn:SetPage()

Salu2
by paquitohm
Wed Feb 08, 2023 7:51 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Tamaño de la hoja
Replies: 6
Views: 456

Re: DIALOG NOCAPTION no funciona con XIMAGE

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 ...
by Willi Quintana
Wed Oct 12, 2022 8:07 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: DIALOG NOCAPTION no funciona con XIMAGE
Replies: 17
Views: 1559

Re: Mostrar control ActiveX codejock en diálogo desde recurso

Victor,

Muchas gracias

Ahora tengo que salir, luego lo descargaré y lo probaré

Prueba a hacer oGridControl:SetSize( nWidth, nHeight ) a ver si aparece con las dimensiones desde el ON INIT
by Antonio Linares
Sun Aug 21, 2022 10:59 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Mostrar control ActiveX codejock en diálogo desde recurso
Replies: 7
Views: 579

about RESIZE

... 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 ...
by Jimmy
Wed Jul 27, 2022 9:42 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: about RESIZE
Replies: 7
Views: 470

Re: SetSize no funciona

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...
by cmsoft
Wed May 04, 2022 12:22 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: SetSize no funciona
Replies: 5
Views: 386
Next

Return to advanced search