Search found 23 matches: nxpos

Searched query: nxpos

by Antonio Linares
Fri Jan 17, 2025 10:33 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Using new Class TDeepSeek for documenting
Replies: 29
Views: 4826

Using new Class TDeepSeek for documenting

... method.

9. **`MouseWheel()`**
- **Description**: Handles mouse wheel events for scrolling the list.
- **Parameters**: `nKeys`, `nDelta`, `nXPos`, `nYPos`.
- **Returns**: None.

10. **`SetList()`**
- **Description**: Sets the data source and field for the list.
- **Parameters ...
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: 2206

Página infinita ( o imagen infinita )

... 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 una CLASE y ...
by ukoenig
Thu Dec 01, 2016 8:33 pm
Forum: FiveWin for Harbour/xHarbour
Topic: FWH 16.11 Texured Fonts
Replies: 8
Views: 2106

Re: FWH 16.11 Texured Fonts

... 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 Natter
Fri Apr 08, 2016 4:57 pm
Forum: FiveWin for Harbour/xHarbour
Topic: TImage zoom
Replies: 14
Views: 3056

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 ...
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: 753

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 don lowenstein
Tue Apr 07, 2015 8:21 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Disable Mouse Wheel on combobox controls
Replies: 5
Views: 798

Re: Disable Mouse Wheel on combobox controls

... 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 RETVAL
by Antonio Linares
Sat Oct 26, 2013 9:44 am
Forum: Off Topic / Otros temas
Topic: "Snap" for Clipper
Replies: 7
Views: 9964

Re: "Snap" for Clipper

... 866
867 1372 1378 1381 1382 1394 1409 1412 2716 2719
2720 2786 2789 2790 2841 2869 2896 2897 2900 2900
3827! 3836

NX
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 888 889 889 ...
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: 710

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 :={ || MsgInfo(nXPos) }
by dobfivewin
Thu Jan 14, 2010 10:08 am
Forum: FiveWin para Harbour/xHarbour
Topic: preview alpha 2
Replies: 2
Views: 2173

Re: preview alpha 2

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

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 jbrita
Tue Nov 24, 2009 11:29 pm
Forum: FiveWin para Harbour/xHarbour
Topic: GetPrintDC()
Replies: 4
Views: 2952

Re: GetPrintDC()

... 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 peterk
Wed Jul 22, 2009 3:16 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Mousewheel and Wbrowse
Replies: 1
Views: 501

Mousewheel and Wbrowse

... 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 > 0 ...
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: 1673

Darrell,

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

METHOD MouseWheel( nKey, nDelta, nXPos, nYPos ) VIRTUAL
by Enrico Maria Giordano
Wed Nov 19, 2008 10:17 pm
Forum: All products support
Topic: errore in compilazione Rpreview
Replies: 7
Views: 2462

Re: errore in compilazione Rpreview

... metodo 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 ...
by Silvio
Wed Nov 19, 2008 11:34 am
Forum: All products support
Topic: errore in compilazione Rpreview
Replies: 7
Views: 2462

errore in compilazione Rpreview

... per 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 ...