Search found 236 matches: setsize

Return to advanced search

Re: FWH 24.02 nueva Clase TWebView2

Hola, Intenté crear el ejemplo y faltaban las siguientes funciones, ¿qué LIB falta? ┌────────────────────────────────────────────────────────────────────────────┐ │ FiveWin for Harbour 22.12 - Dec. 2022 Harbour development power │▄ │ (c) FiveTech 1993-2022 for Microsoft Windows 9X/NT/200X/ME/XP/Vis...
by Ari
Mon Nov 18, 2024 4:42 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: FWH 24.02 nueva Clase TWebView2
Replies: 10
Views: 2113

Re: Change buttonbar size

Antonio Linares wrote:If you are using it from a dialog then you can resize it from the ACTIVATE DIALOG oDlg ON INIT ...

Could you please provide a small PRG to show how you are doing it ?

many thanks


Hi Antonio,

I solved it with ON INIT (oBar2:SetSize(107.5, 25),oBar2:Refresh())

Thank You!
by wartiaga
Wed Oct 09, 2024 1:53 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Change buttonbar size
Replies: 2
Views: 121

Re: FWH_2407 oSay does not assume nHeight

[ Eval( { | oSay, nWidth, nHeight | If( ! Empty( oSay ) .and. ! Empty( nWidth ), oSay:SetSize( nWidth, nHeight ),) }, <oSay>, <nWidth>, <nHeight> ) ]

Working! :-)
by Antonio Linares
Sat Aug 24, 2024 9:33 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWH_2407 oSay does not assume nHeight
Replies: 32
Views: 4648

Re: FWH_2407 oSay does not assume nHeight

... == "U"], <.lVCenter.>, [<uCargo>], [<.relpix.>], <nClrBorder> ) ; [ <oSay>:SetSize( <nWidth>, <nHeight> ) ] works when there is an object reference: code: @ 057,376 SAY oTest1 PROMPT 'Test' PIXEL oop: ...
by vinhesoft
Fri Aug 23, 2024 5:21 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWH_2407 oSay does not assume nHeight
Replies: 32
Views: 4648

Re: FWH_2407 oSay does not assume nHeight

... <"uni">, 1 ) ) == "U"], <.lVCenter.>, [<uCargo>], [<.relpix.>], <nClrBorder> ); [ <oSay>:SetSize( <nWidth>, <nHeight> ) ]
by Antonio Linares
Fri Aug 23, 2024 4:04 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWH_2407 oSay does not assume nHeight
Replies: 32
Views: 4648

Re: FWH_2407 oSay does not assume nHeight

... ppo: TSay():New( 010, 010, {|| "Código"},,, oF01_, .F., .F., .F., .T.,,, 090, 010, .F., .F., .F., .F., .F., .F., .T.,,, .F.,,, ) ;:SetSize( 090, 010 ) E:\Sistemas\WinADMpro>harbour admp0002 -p -n Harbour 3.2.0dev (r2404101339) Copyright (c) 1999-2021, https://harbour.github.io/ ...
by vinhesoft
Fri Aug 23, 2024 3:55 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWH_2407 oSay does not assume nHeight
Replies: 32
Views: 4648

Re: FWH_2407 oSay does not assume nHeight

... TSay():New( 057, 376, {|| "Test"},,,, .F., .F., .F., .T.,,,,, .F., .F., .F., .F., .F., .F., .F., "oTest1",, .F.,,, ) ; oTest1:SetSize(, ) WQout( { oTest1:nHeight } ) oTest2 := TSay():New( 057, 376, {|| "Test"},,,, .F., .F., .F., .T.,,, 015, 007, .F., .F., .F., .F., ...
by vinhesoft
Thu Aug 22, 2024 8:06 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWH_2407 oSay does not assume nHeight
Replies: 32
Views: 4648

Re: FWH_2407 oSay does not assume nHeight

... <"uni">, 1 ) ) == "U"], <.lVCenter.>, [<uCargo>], [<.relpix.>], <nClrBorder> ); [ <oSay>:SetSize( <nWidth>, <nHeight> ) ] You are right and I agree that SIZE clause should be enough, but in the evolution of FWH along many years, ...
by Antonio Linares
Thu Aug 22, 2024 4:53 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWH_2407 oSay does not assume nHeight
Replies: 32
Views: 4648

Re: FWH_2407 oSay does not assume nHeight

Dear Antonio

@ 057,376 SAY oTest2 PROMPT 'Test' PIXEL SIZE 015,007

SIZE 015,007 -->> does not assume the informed standard? when we inform the pattern, oSay should follow it.

I have to use it like this ?

@ 057,376 SAY oTest2 PROMPT 'Test' PIXEL SIZE 015,007 ; oTest2:SetSize( 15, 7 )
by vinhesoft
Thu Aug 22, 2024 4:45 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWH_2407 oSay does not assume nHeight
Replies: 32
Views: 4648

Re: FWH_2407 oSay does not assume nHeight

Dear Joao,

Please use this:

@ 057,376 SAY oTest2 PROMPT 'Test' PIXEL SIZE 015,007
oTest2:SetSize( 15, 7 )

Class TSay does some calculations, but if you need that exact size, then use Method SetSize( nWidth, nHeight )
by Antonio Linares
Thu Aug 22, 2024 2:17 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWH_2407 oSay does not assume nHeight
Replies: 32
Views: 4648

No logro definir tamaño de papel

... predeterminada y chau hace cualquier cosa. Tengo definido así printer oPrn file xnombrenota preview * oPrn:setpage( 9 ) // tama¤o de papel A4 oPrn:setsize( 2098, 2970 ) que estoy haciendo mal, de ninguna de las 2 maneras responde
by jpcavagnaro
Fri Aug 09, 2024 12:46 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: No logro definir tamaño de papel
Replies: 19
Views: 3152

Tamaño de ventana twebview vs twebview2

Saludos

Usando TWebView2 muestro una ventana HTML sin problemas y cambio su tamaño con: oWebView:SetSize( 1200, 800 ) y funciona sin problemas, pero en TWebView2 "no funciona", como hago para hacer lo mismo en TWebView2.
Gracias
by Enrrique Vertiz
Tue May 14, 2024 7:59 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Tamaño de ventana twebview vs twebview2
Replies: 2
Views: 369

Dynamic Table Filter Control

... local oWebView := TWebView():New() oWebView:SetHtml( Html() ) oWebView:SetTitle( "Please identify with your credentials" ) oWebView:SetSize( 1200, 800 ) oWebView:SetUserAgent( "Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.5060.53 ...
by Otto
Fri May 03, 2024 4:42 pm
 
Forum: mod_harbour
Topic: Dynamic Table Filter Control
Replies: 0
Views: 938

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

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: 2920
Next

Return to advanced search