Search found 19 matches: ndelta

Return to advanced search

Página infinita ( o imagen infinita )

... código que limpiar 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 ...
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: 1709

Re: FWH 16.11 Texured Fonts

... 1600 oMetro:nMetroMargin := 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: 1819

Re: TImage zoom

... This program 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: 2591

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, ...
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: 668

Re: Disable Mouse Wheel on combobox controls

... In order to re-direct 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 ...
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

...    814   814   814   827  3040  3305  3306  3315  3327  3366                   3367 NCPAINT()              (function  in ?)    WINDOW.PRG      724 NDELTA                  WINDOW.PRG      715   716 NDEVICE                WINDOW.PRG      519  3694  3697 NEVENT                  WINDOW.PRG      579 ...
by Antonio Linares
Sat Oct 26, 2013 9:44 am
 
Forum: Off Topic / Otros temas
Topic: "Snap" for Clipper
Replies: 7
Views: 6699

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

Re: USO DE SCROOL EN MENU RIBBON Y MENU DE IMAGENES

Simple amigo un poco de ingenio. oWnd:bMouseWheel :={ | ,nDelta | MouseWheel( nDelta ) } // Siendo oWnd la ventana padre. Ojo:: que las variables oWnd y oRbar deben ser visibles en la function adaptalo a lo tuyo /------------------- Function MouseWheel( ...
by mantonio_08
Fri Dec 21, 2012 2:30 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: USO DE SCROOL EN MENU RIBBON Y MENU DE IMAGENES
Replies: 5
Views: 960

Re: preview alpha 2

... HScroll( nType, 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() ...
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

... := {| nRow, 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( ...
by Juan Planelles
Tue Dec 29, 2009 10:27 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Juan Planelles Lazaga
Replies: 9
Views: 6739

Re: GetPrintDC()

... nCol, nKeyFlags| ; 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__ ...
by jbrita
Tue Nov 24, 2009 11:29 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: GetPrintDC()
Replies: 4
Views: 2708

Mousewheel and Wbrowse

... scrolls left or 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 ...
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: 1435

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

Darrell,

On what controls do you want to disable the mouse wheel support ?

You can disable it for any control, including this in the desired class:

METHOD MouseWheel( nKeys, nDelta, nXPos, nYPos ) VIRTUAL
by Antonio Linares
Mon Oct 27, 2008 8:58 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Disable mouse wheel
Replies: 5
Views: 855
Next

Return to advanced search