Wheel button behaviour

Wheel button behaviour

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

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

Postby modicr » Tue Nov 08, 2005 1: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!
User avatar
modicr
 
Posts: 207
Joined: Fri Oct 07, 2005 7:58 am
Location: ljubljana, barje, slovenia


Return to FiveMac / FivePhone (iPhone, iPad)

Who is online

Users browsing this forum: No registered users and 4 guests