Search found 22 matches: nypos

Return to advanced search

Página infinita ( o imagen infinita )

... y optimizar, pero ya es funcional 100%. Solo he tenido que incluir una DATA en la clase BITMAP y el METHOD MouseWheel( nKeys, nDelta, nXPos, nYPos ) CLASS TBitmap , que no estaba en mi versión 6.12 (gracias de nuevo Antonio si me lees) Creo que lo mejor sería convertirlo en una CLASE y no ...
by JESUS MARIN
Mon Dec 16, 2019 5:59 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Página infinita ( o imagen infinita )
Replies: 13
Views: 1708

Re: FWH 16.11 Texured Fonts

... := 200 oMetro:nBtnSize = 140 ELSE oMetro:nMetroMargin := 220 oMetro:nBtnSize = 160 ENDIF oWnd:bMouseWheel = { | nKey, nDelta, nXPos, nYPos | oMetro:MouseWheel( nKey, nDelta, nXPos, nYPos ) } oMetro:bRClicked := { |Row,Col| oWnd:End() } // Background-function // ----------------------- ...
by ukoenig
Thu Dec 01, 2016 8:33 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWH 16.11 Texured Fonts
Replies: 8
Views: 1811

Re: TImage zoom

... is quite normal increases/decreases the image oImg:=TImage():New(...) oImg:Progress(.F.) oImg:Cargo:=0 oImg:bMouseWheel = {| nKey, nDelta, nXPos, nYPos | Test()} procedure Test(nDelta) local cnt local nWidth, nHeight // The sizes TImage on dialog local hDC if (nDelta<0.and.oImg:Cargo-1>=0).or. ...
by Natter
Fri Apr 08, 2016 4:57 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: TImage zoom
Replies: 14
Views: 2590

Re: Possible to define a Submenu from METRO menu-button ?

... .F. oMetro1:nMetroTop = 160 oMetro1:nMetroMargin := 50 oMetro1:nBtnSize = 80 oMetro1:nMetroRows := 8 oWnd:bMouseWheel = { | nKey, nDelta, nXPos, nYPos | oMetro1:MouseWheel( nKey, nDelta, nXPos, nYPos ) } oBrush := WD_BACKGRD( oMetro1, nWStyle, nWColorF, nWColorB, lWDirect, nWGradPos, cWBrush, ...
by ukoenig
Thu Jun 04, 2015 2:10 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Possible another Submenu from METRO SUBmenu-button ?
Replies: 2
Views: 666

Re: Disable Mouse Wheel on combobox controls

... the mousewheel event to the dialog my combo-box scroll method looks like below. This works great. METHOD ComboWheel( nKeys, nDelta, nXPos, nYPos) CLASS TDComboBox LOCAL RETVAL, X LOCAL ODLG := SELF:OWND RETVAL := EVAL( ODLG:BMOUSEWHEEL, nKeys, nDelta, nXPos, nYPos ) RETURN RETVAL
by don lowenstein
Tue Apr 07, 2015 8:21 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Disable Mouse Wheel on combobox controls
Replies: 5
Views: 715

Re: "Snap" for Clipper

...                      WINDOW.PRG      845   846 NXPOS                  WINDOW.PRG      715   716 NY                      WINDOW.PRG      845   846 NYPOS                  WINDOW.PRG      715   716 NZIPINFO                WINDOW.PRG      884   885 O                      WINDOW.PRG      888   888 ...
by Antonio Linares
Sat Oct 26, 2013 9:44 am
 
Forum: Off Topic / Otros temas
Topic: "Snap" for Clipper
Replies: 7
Views: 6690

Re: Necesito ayuda , para obtener coordenadas mouse escritorio

Si explicas que quieres hacer seria mas simple poder ayudarte... METHOD MouseWheel( nKey, nDelta, nXPos, nYPos ) INLINE ; If( ::bMouseWheel != nil, Eval( ::bMouseWheel, nKey, nDelta, nXPos, nYPos ), nil ) ese metodo de la TWindow es la clave.. prueba asi.. oWnd:bMouseWheel ...
by mantonio_08
Wed Mar 13, 2013 11:44 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Necesito ayuda , para obtener coordenadas mouse escritorio
Replies: 5
Views: 596

Re: preview alpha 2

... lPage, nSteps ) 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 ...
by dobfivewin
Thu Jan 14, 2010 10:08 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: preview alpha 2
Replies: 2
Views: 2033

Re: Juan Planelles Lazaga

... nCol, nFlags| ShowP( nRow, nCol, oGet ) } // Impedir que se abra el menú contextual de la ventana get oGet:bMouseWheel = { | nKey, nDelta, nXPos, nYPos | MouseWheel( nKey, nDelta, nXPos, nYPos, oGet ) } // Rueda del raton if lFile cFileDisc := aFiles[ nItem ] //cText := Memoread( aFiles[ nItem ...
by Juan Planelles
Tue Dec 29, 2009 10:27 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Juan Planelles Lazaga
Replies: 9
Views: 6735

Re: GetPrintDC()

... ; SetOrg1( nCol, nRow, nKeyFlags ) } oMeta1:bKeyDown := {|nKey,nFlags| CheckKey(nKey,nFlags)} oMeta1:bMouseWheel := { | nKeys, nDelta, nXPos, nYPos | ; CheckMouseWheel( nKeys, nDelta, nXPos, nYPos ) } #ifndef __XPP__ // XBPP bug. Warning: don't change this into #ifdef __CLIPPER__ oMeta2 := ...
by jbrita
Tue Nov 24, 2009 11:29 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: GetPrintDC()
Replies: 4
Views: 2707

Mousewheel and Wbrowse

... right instead This has been irritating me for a long time. The following seems to be the offending code: METHOD MouseWheel( nKeys, nDelta, nXPos, nYPos ) CLASS TWBrowse local aPos := { nYPos, nXPos } aPos := ScreenToClient( ::hWnd, aPos ) if aPos[ 1 ] > ::nHeight * 0.80 if nDelta > 0 ::GoLeft() ...
by peterk
Wed Jul 22, 2009 3:16 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Mousewheel and Wbrowse
Replies: 1
Views: 442

Darrell,

In the class where you want to disable it, include this method:

METHOD MouseWheel( nKey, nDelta, nXPos, nYPos ) VIRTUAL
by Antonio Linares
Wed Dec 03, 2008 1:25 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Disable mouse wheel in FWH 8.10
Replies: 10
Views: 1432

Re: errore in compilazione Rpreview

... CheckKey() e potrebbe benissimo essere tolto. Magari Antonio l'ha lasciato lì come segnaposto per eventuali esigenze future. le variabile NXPOS e NYPOS mi dice " declared but not used in function checkmousewheel" Stesso discorso per i parametri nXPos e nYPos del metodo CheckMouseWheel(). EMG
by Enrico Maria Giordano
Wed Nov 19, 2008 10:17 pm
 
Forum: All products support
Topic: errore in compilazione Rpreview
Replies: 7
Views: 1648

errore in compilazione Rpreview

... esempio non riesco a spuntarla con il Rpreview.prg la variabile Nflag mi dice " declared but not used in function checkkey" le variabile NXPOS e NYPOS mi dice " declared but not used in function checkmousewheel" con il w2 non si compilano se torlgo il warning si compila tutto Hai qualche idea ...
by Silvio
Wed Nov 19, 2008 11:34 am
 
Forum: All products support
Topic: errore in compilazione Rpreview
Replies: 7
Views: 1648

Darrell,

You have to modify fwh\source\classes\wbrowse.prg this way:

METHOD MouseWheel( nKeys, nDelta, nXPos, nYPos ) VIRTUAL

and comment its source code in the same PRG
by Antonio Linares
Mon Oct 27, 2008 8:55 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Disable mouse wheel
Replies: 5
Views: 854
Next

Return to advanced search