Wheel button behaviour

Post Reply
User avatar
modicr
Posts: 207
Joined: Fri Oct 07, 2005 7:58 am
Location: ljubljana, barje, slovenia
Contact:

Wheel button behaviour

Post by modicr »

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!
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

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
User avatar
modicr
Posts: 207
Joined: Fri Oct 07, 2005 7:58 am
Location: ljubljana, barje, slovenia
Contact:

Post by modicr »

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!
Post Reply