Search found 15 matches: setfactor

Return to advanced search

Implement gradual zoom in print preview

... 4 )         case nKey == 80                   //P              PrintPage()         case nKey == 109 .or. nKey == 189 //-              SetFactor( nil, -.05 )         case nKey == 107 .or. nKey == 187 //+              SetFactor( nil, +.05 )  and SetFactor() static function ...
by hua
Fri Dec 27, 2019 9:16 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Implement gradual zoom in print preview
Replies: 0
Views: 309

Re: bugs FW14.06

... The problem is not created in 14.06 but has been there for a very long time till 14.06. Fix: Please locate the first line in the method SetFactor( nValue ) of TPreview. This is the present code.   local lInit := .F.  Please replace change this as:   local lInit := ( PCount() ...
by nageswaragunupudi
Mon Jun 30, 2014 11:15 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: bugs FW14.06
Replies: 20
Views: 2659

Re: several minor bugs FWH 13.07

Antonio, Lo del 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, ...
by elvira
Fri Aug 23, 2013 2:24 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: several minor bugs FWH 13.07
Replies: 10
Views: 2313

New FTDN June 2012 (FWH 12.06)

... for xHB.com has been modified to void the use of the external _chkstk due to excesive stack consume. Now it is ok. * Fix: Class TPreview Method SetFactor(), there was an extra call to ::Zoom( .T. ) in line 1377 that was messing the reports appearance. Now it is ok. * New: samples\schedule.prg ...
by Antonio Linares
Tue Jul 03, 2012 11:01 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN June 2012 (FWH 12.06)
Replies: 0
Views: 1516

tPreview iniciado al 100%

... modificado el Metodo PaintMeta() y puedo cambiar el tamaño del visualizador, pero no me funciona con el vScroll... He intentado llamando el metodo SetFactor() desde ON INIT, pero no me reconoce ::oMeta1 y creo que la clase no crea un objeto al que pueda llamar??? Alguien sabe de alguna manera en ...
by Bayron
Sun Oct 30, 2011 3:27 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: tPreview iniciado al 100%
Replies: 0
Views: 300

Re: last source of rpreview

... Error description: Error BASE/1082 Argument error: - Args: [ 1] = U [ 2] = N 1 Stack Calls =========== Called from: rpreview.prg => TPREVIEW:SETFACTOR(1530) Called from: rpreview.prg => TPREVIEW:BUILDWINDOW(579) Called from: rpreview.prg => TPREVIEW:NEW(132) Called from: rpreview.prg ...
by Silvio
Tue Mar 02, 2010 6:06 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: last source of rpreview
Replies: 12
Views: 2697

Re: preview alpha 2

... ) METHOD SetOrg1( nX, nY ) METHOD SetOrg2( nX, nY ) METHOD CheckKey( nKey, nFlags ) METHOD CheckMouseWheel( nKeys, nDelta, nXPos, nYPos ) METHOD SetFactor( nValue ) METHOD PrintPage() METHOD PrintPrv( oDlg, nOption, nPageIni, nPageEnd ) // Esteban METHOD CambiaPrinter() // Esteban ENDCLASS //----------------------------------------------------------------------------// ...
by dobfivewin
Thu Jan 14, 2010 10:08 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: preview alpha 2
Replies: 2
Views: 2032

Re: GetPrintDC()

... "4", "5", "6", "7", "8", "9" } ; OF oBar FONT oFont PIXEL SIZE 35,200 ; ON CHANGE SetFactor( nZFactor ) if ! l2007 if Len( oDevice:aMeta ) > 1 @ 7, 370 SAY oPage PROMPT TXT_PAGENUM + LTrim( Str( nPage, 4, 0 ) ) + " / " ...
by jbrita
Tue Nov 24, 2009 11:29 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: GetPrintDC()
Replies: 4
Views: 2706

Re: Pequeño aporte al FORO clase RPREVIEW

... %","170 %","180 %","190 %","200 %"} ; OF ::oBar FONT ::oFont PIXEL SIZE 55,180 ON CHANGE oThis:SetFactor( oThis:nZFactor ) //FranciscoA @3,235 COMBOBOX oCbx VAR cCbx PROMPTS aGetPrinters() OF ::oBar FONT ::oFont PIXEL SIZE 216,25 ON CHANGE CambiaPRT(cCbx) ...
by FranciscoA
Sun Aug 30, 2009 12:29 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Pequeño aporte al FORO clase RPREVIEW
Replies: 13
Views: 2549

Re: Modificación a Clase RPreview

METHOD SetFactor( nValue ) CLASS TPreview
local n, lInit := .f.

< other code >
n :- 1 + ( nValue - 1 ) * 0.1
::oMeta1:SetZoomFactor( n, 2 * n )
< other code >
return nil
by Willi Quintana
Wed Aug 26, 2009 3:11 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Modificación a Clase RPreview
Replies: 12
Views: 2422

... ) ) endif @ 3, 325 COMBOBOX oFactor VAR nZFactor ; ITEMS {"1","2","3","4","5","6","7","8","9"} ; OF oBar FONT oFont PIXEL SIZE 35,200 ; ON CHANGE SetFactor( nZFactor ) // modi Sebastian Almiron rectificar número de páginas en preview @ 7, 410 SAY oPAGE PROMPT "Número de página: " + ltrim(str(nPage,4,0)); ...
by Manuel Valdenebro
Thu Feb 28, 2008 4:30 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: RPREVIEW modificada por Manuel Valdenebro ?
Replies: 8
Views: 3361

... ZOOM CODE 0009:4542 00040H ZOOM CODE 0009:4582 0012FH SETORG1 CODE 0009:46B2 001A0H SETORG2 CODE 0009:4852 001B8H CHECKKEY CODE 0009:4A0A 000DDH SETFACTOR CODE 0009:4AE8 002AAH PRINTPAGE CODE 0009:4D92 001B1H PRINTPRV CODE 0009:4F44 00642H TMSGBAR CODE 0009:5586 0007EH ADJUST CODE 0009:5604 00067H ...
by Connan
Fri Mar 03, 2006 10:28 am
 
Forum: FiveWin para CA-Clipper
Topic: GPF, como buscar el Error
Replies: 3
Views: 3528

GPF, como buscar el Error

... ZOOM CODE 0009:4542 00040H ZOOM CODE 0009:4582 0012FH SETORG1 CODE 0009:46B2 001A0H SETORG2 CODE 0009:4852 001B8H CHECKKEY CODE 0009:4A0A 000DDH SETFACTOR CODE 0009:4AE8 002AAH PRINTPAGE CODE 0009:4D92 001B1H PRINTPRV CODE 0009:4F44 00642H TMSGBAR CODE 0009:5586 0007EH ADJUST CODE 0009:5604 00067H ...
by Connan
Tue Feb 28, 2006 5:36 pm
 
Forum: FiveWin para CA-Clipper
Topic: GPF, como buscar el Error
Replies: 3
Views: 3528

... la pagina de http://www.dbwide.ar lei que habia que modificar la clase, ya que al parecer no "pasaba" el valor del Factor era una linea que decia: SetFactor() y el comentaba que habia que ponerle SetFactor(1) pero la pregunta es, despues de corregir esa clase como logro que se ejecute el cambio ...
by servicomver
Fri Jan 27, 2006 12:51 am
 
Forum: FiveWin para CA-Clipper
Topic: Impresiones en TdosPrn y oPrn
Replies: 3
Views: 1199

Error de Proteccion General.

... CODE 0009:973A 001DBH TWOPAGES CODE 0009:9916 0012FH SETORG1 CODE 0009:9A46 001A0H SETORG2 CODE 0009:9BE6 001B8H CHECKKEY CODE 0009:9D9E 000DDH SETFACTOR CODE 0009:9E7C 002AAH PRINTPAGE CODE 0009:A126 001F3H PRINTPRV CODE 0009:A31A 00022H NWINDOWS CODE 0009:A33C 00021H GETALLWIN CODE 0009:A35E ...
by Garbi
Wed Nov 02, 2005 3:38 pm
 
Forum: FiveWin para CA-Clipper
Topic: Error de Proteccion General.
Replies: 5
Views: 4147

Return to advanced search