oPreview:oZoom:hBitmap1 = FWBitmap( "Zoom2" )
oPreview:oZoom:hBitmap2 = FWBitmap( "OnePage2" )
oPreview:oZoom:bBmpNo = { || If( oPreview:lZoom, 2, 1 ) }
How I can converte it ? How I can change the images with mine pngs ?
Search found 18 matches: lzoom
Searched query: lzoom
- Thu Nov 16, 2023 7:47 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: load png from rpreview
- Replies: 6
- Views: 772
- Sun Dec 28, 2014 8:01 pm
- Forum: FiveWin para Harbour/xHarbour
- Topic: bug rpreview.prg FWH 14.12
- Replies: 4
- Views: 1000
Re: bug rpreview.prg FWH 14.12
Paz,
Esas líneas ya estaban, ahora lo que hay que añadirle es:
If( ::lZoom, ::oLvw:Hide(), ::oLvw:Show() )
Lo más sencillo hasta que publiquemos un nuevo build de FWH es añadir el fichero rpreview.prg como si fuese un PRG más de vuestra aplicación.
rpreview.obj tiene que ser reemplazado en FiveH ...
Esas líneas ya estaban, ahora lo que hay que añadirle es:
If( ::lZoom, ::oLvw:Hide(), ::oLvw:Show() )
Lo más sencillo hasta que publiquemos un nuevo build de FWH es añadir el fichero rpreview.prg como si fuese un PRG más de vuestra aplicación.
rpreview.obj tiene que ser reemplazado en FiveH ...
- Sun May 04, 2014 9:17 am
- Forum: FiveWin para Harbour/xHarbour
- Topic: 1402 PRINTER oPrn NAME "Cuentas" PREVIEW MODAL
- Replies: 3
- Views: 481
Re: 1402 PRINTER oPrn NAME "Cuentas" PREVIEW MODAL
Sistem wrote:rpreview.prg linha 1477
if ! ::lZoom .and. ! lInit
// ::Zoom( .T. ) // anular esta line
endif esta linha
Muchísimas gracias, funcionó perfecto.
- Sat May 03, 2014 11:58 pm
- Forum: FiveWin para Harbour/xHarbour
- Topic: 1402 PRINTER oPrn NAME "Cuentas" PREVIEW MODAL
- Replies: 3
- Views: 481
Re: 1402 PRINTER oPrn NAME "Cuentas" PREVIEW MODAL
rpreview.prg linha 1477
if ! ::lZoom .and. ! lInit
// ::Zoom( .T. ) // anular esta line
endif esta linha
if ! ::lZoom .and. ! lInit
// ::Zoom( .T. ) // anular esta line
endif esta linha
- Fri Aug 23, 2013 2:24 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: several minor bugs FWH 13.07
- Replies: 10
- Views: 2562
Re: several minor bugs FWH 13.07
... Factor del rpreview.prg nos lo arreglaste así en el método Setfactor de rpreview.prg
::oMeta1:SetZoomFactor( ::nZFactor, ::nZFactor * 2 )
if !::lZoom .and. ! lInit
::Zoom( .T. ) // A.L. 08 Oct 2007
endif
if ::lZoom
::oWnd:oVScroll:SetRange( 1, VSCROLL_RANGE )
if ::nZFactor > 1
::oWnd ...
::oMeta1:SetZoomFactor( ::nZFactor, ::nZFactor * 2 )
if !::lZoom .and. ! lInit
::Zoom( .T. ) // A.L. 08 Oct 2007
endif
if ::lZoom
::oWnd:oVScroll:SetRange( 1, VSCROLL_RANGE )
if ::nZFactor > 1
::oWnd ...
- Sat Jun 30, 2012 2:57 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: Antonio, please help me
- Replies: 2
- Views: 689
Re: Antonio, please help me
Antonio, thanks for your answer.
Indeed, disable / / :: Sistem lZoom as proposed by Sistem, the preview opens normally, but with the MouseWheel off. If the report is greater than the size shown in the preview does not work MouseWheel. If the user wants to see the full report has to minimize and then ...
Indeed, disable / / :: Sistem lZoom as proposed by Sistem, the preview opens normally, but with the MouseWheel off. If the report is greater than the size shown in the preview does not work MouseWheel. If the user wants to see the full report has to minimize and then ...
- Sat Jun 30, 2012 2:52 pm
- Forum: FiveWin para Harbour/xHarbour
- Topic: Zoom ON en Preview con FWH 12.05- Antonio ayuda
- Replies: 12
- Views: 2474
Re: Zoom ON en Preview con FWH 12.05- Antonio ayuda
Antonio, gracias por tu respuesta.
En efecto, al comentariar // ::lZoom como propone Sistem, abre el preview normal, pero desactivado el MouseWheel. Si el informe es mayor del tamaño de lo que se ve en el preview, no funciona MouseWheel. Si el usuario quiere ver el informe completo tiene que ...
En efecto, al comentariar // ::lZoom como propone Sistem, abre el preview normal, pero desactivado el MouseWheel. Si el informe es mayor del tamaño de lo que se ve en el preview, no funciona MouseWheel. Si el usuario quiere ver el informe completo tiene que ...
- Fri Jun 29, 2012 4:26 pm
- Forum: FiveWin para Harbour/xHarbour
- Topic: oPrn:RoundBox() (SOLUCIONADO)
- Replies: 7
- Views: 2758
Re: oPrn:RoundBox()
... metiéndole la mano a TPrinter.prg, RPreview.prg y TMetafil.prg pero no consigo que funcione. Siempre abre con la vista reducida.
Si pongo ::lZoom := .T. lo abre aumentado pero bantante borroso.
Has revisado algo al respecto ?
Durante años usé MPreview del amigo José Lanín, y funcionaba ...
Si pongo ::lZoom := .T. lo abre aumentado pero bantante borroso.
Has revisado algo al respecto ?
Durante años usé MPreview del amigo José Lanín, y funcionaba ...
- Thu Jun 28, 2012 10:57 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: Zoom ON in Preview with FWH 12.05
- Replies: 1
- Views: 454
Zoom ON in Preview with FWH 12.05
Hi,
I need start Preview windows with Zoom ON.
I tried with :: lZoom: =. T. and indeed it opens in Zoom ON but rather poorly presented![Smile :-)](./images/smilies/icon_smile.gif)
How can it be done?
Thanks in advance,
Carlos Gallego
I need start Preview windows with Zoom ON.
I tried with :: lZoom: =. T. and indeed it opens in Zoom ON but rather poorly presented
![Smile :-)](./images/smilies/icon_smile.gif)
How can it be done?
Thanks in advance,
Carlos Gallego
- Thu Jun 28, 2012 10:47 pm
- Forum: FiveWin para Harbour/xHarbour
- Topic: Zoom ON en Preview con FWH 12.05- Antonio ayuda
- Replies: 12
- Views: 2474
Zoom ON en Preview con FWH 12.05- Antonio ayuda
... Necesito iniciar el Preview con Zoom On ya que siempre sale reducido y toca pulsar sobre Zoom para ampliarlo y se pueda ver bien.
He probado con ::lZoom := .T. y en efecto lo abre en Zoom ON pero bastante mal presentado
Le he dado la vuelta entera a Printer.prg, rpreview.prg y tmetafil.prg pero no ...
He probado con ::lZoom := .T. y en efecto lo abre en Zoom ON pero bastante mal presentado
Le he dado la vuelta entera a Printer.prg, rpreview.prg y tmetafil.prg pero no ...
- Wed May 11, 2011 8:16 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: Preview error on windows seven ... RESOLVED!!!!
- Replies: 8
- Views: 1842
Preview error on windows seven ... RESOLVED!!!!
... tried to modify rpreview at Paintmeta method for the first problem
and perhaps it run ok now
if ::oWnd != nil
nWidth = ::oWnd:nWidth() - If( ::lZoom, 20, 0 )
nHeight = ::oWnd:nHeight() - If( ::lZoom .and. ::nZFactor > 1, 20, 0 ) - 10 - ;
I f( LargeFonts(), 100,86 ) //100 80
if ! ::lZoom ...
and perhaps it run ok now
if ::oWnd != nil
nWidth = ::oWnd:nWidth() - If( ::lZoom, 20, 0 )
nHeight = ::oWnd:nHeight() - If( ::lZoom .and. ::nZFactor > 1, 20, 0 ) - 10 - ;
I f( LargeFonts(), 100,86 ) //100 80
if ! ::lZoom ...
- Sun Oct 03, 2010 4:19 am
- Forum: FiveWin para Harbour/xHarbour
- Topic: Consulta sobre TPrinter
- Replies: 6
- Views: 1398
Re: Consulta sobre TPrinter
... misma.
Estoy viendo el archivo rpreview.prg y las líneas que muestran el valor de lExit son :
Linea 73 dentro de CLASS Tpreview
DATA lTwoPages, lZoom, lExit
Linea 119 dentro de METHOD NEW ...
::lExit := .F.
Dentro de METHOD Activate ...
Linea 147
::lExit := .T. ,;
Linea 151
StopUntil ...
Estoy viendo el archivo rpreview.prg y las líneas que muestran el valor de lExit son :
Linea 73 dentro de CLASS Tpreview
DATA lTwoPages, lZoom, lExit
Linea 119 dentro de METHOD NEW ...
::lExit := .F.
Dentro de METHOD Activate ...
Linea 147
::lExit := .T. ,;
Linea 151
StopUntil ...
- Thu Jan 14, 2010 10:08 am
- Forum: FiveWin para Harbour/xHarbour
- Topic: preview alpha 2
- Replies: 2
- Views: 2173
Re: preview alpha 2
... oPage, oTwoPages, oZoom
DATA oMenuZoom, oMenuTwoPages, oMenuUnZoom, oMenuOnePage
DATA cResFile
DATA aFactor, nPage, nZFactor
DATA lTwoPages, lZoom, lExit
DATA cPageNum
// Esteban
DATA aPrinters
DATA cPrinter
DATA cOldPrinter
// Esteban
CLASSDATA oWndMain
METHOD New( oDevice )
METHOD ...
DATA oMenuZoom, oMenuTwoPages, oMenuUnZoom, oMenuOnePage
DATA cResFile
DATA aFactor, nPage, nZFactor
DATA lTwoPages, lZoom, lExit
DATA cPageNum
// Esteban
DATA aPrinters
DATA cPrinter
DATA cOldPrinter
// Esteban
CLASSDATA oWndMain
METHOD New( oDevice )
METHOD ...
- Tue Nov 24, 2009 11:29 pm
- Forum: FiveWin para Harbour/xHarbour
- Topic: GetPrintDC()
- Replies: 4
- Views: 2952
Re: GetPrintDC()
... oZoom, oMenuZoom, oMenuTwoPages,;
oMenuUnZoom, oMenuOnePage, oFactor, cResFile
static aFactor
static nPage, nZFactor
static lTwoPages, lZoom
MemVar nBloqueo
//----------------------------------------------------------------------------//
function RPreview( oDevice )
local aFiles ...
oMenuUnZoom, oMenuOnePage, oFactor, cResFile
static aFactor
static nPage, nZFactor
static lTwoPages, lZoom
MemVar nBloqueo
//----------------------------------------------------------------------------//
function RPreview( oDevice )
local aFiles ...
- Thu Feb 28, 2008 4:30 am
- Forum: FiveWin para Harbour/xHarbour
- Topic: RPREVIEW modificada por Manuel Valdenebro ?
- Replies: 8
- Views: 3758