FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveMac / FivePhone (iPhone, iPad) Wheel button behaviour
Posts: 207
Joined: Fri Oct 07, 2005 07:58 AM
Wheel button behaviour
Posted: Tue Nov 08, 2005 12:03 PM

Hello!

I'm testing sample testbrow.prg with wheel mouse.
Scrolling down/up is working ok until I move mouse
over horizontal scrollbar. After that, when I move
wheel button, browse is scrolling right/left.

I compared this behaviour with other applications
and I noticed that for example Opera has the same
behaviour but Microsoft apps (IE, Word, Excel, Explorer)
always interpret wheel moving as scrolling down/up.
Is it possible to customize this behaviour (I prefer
microsoft way of scrolling)? Can I do it myself or FW lib
must be changed?

Best regards, Roman

PS. I noticed that this sample does not work
with 16-bit Clipper FW (when I move wheel
in whatever direction, browse is always scrolling
down). Do you plan to remove this bug?

© I'm not patented!
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Wheel button behaviour
Posted: Tue Nov 08, 2005 12:23 PM

Roman,

The behavior you described has been coded that way. When you are close to the horizontal scrollbar, then we use the wheel to move left and right. The source code is in Class TWBrowse and it can be easily modified.

In 16 bits there is no support for mouse wheel. It only report movement in one direction. No way to fix it.

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 207
Joined: Fri Oct 07, 2005 07:58 AM
Wheel button behaviour
Posted: Tue Nov 08, 2005 01:32 PM

Hello!

That was easy (method MouseWheel)

> In 16 bits there is no support for mouse wheel. It only report movement in one direction. No way to fix it.

I expected something like that ...

Thanks, Roman

© I'm not patented!

Continue the discussion