Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 10 of 10 total
Thread Horizontal Scrolling With Mouse
Mon, Dec 10 2018 10:42 AMPermanent Link

Eivind

All

Just wondering if anyone have tried to use mouse with a horizontal scroll wheel on EWB apps? In general I can see on both Windows and Mac that the horizontal scrolling works on some apps, but not all. I am at the moment implementing a timeline in a TScrollPanel that goes from 1 Jan to 31 Dec with each day representing a TPanel. I will be dragging panels on top of that timeline for the schedule for personnel. Obviously, 365 days does not fit within a single page width so the whole timeline is inside a TScroll Panel with both ScrollBars set to sbBoth. It scrolls Horizontally when I drag the scroll bar, but not when I'm using the Horizontal scroll wheel on my mouse. I purchased a special mouse for this project and plan to have all the users of this function to use the same type of mouse if I can get horizontal scrolling to work with the mouse wheel. This will make the life for these persons so much easier.

Is there any trick to get this working and has anyone tried this before?

PS. It would also be nice in the EWB GUI and code to have horizontal scrolling as well SmileIt works on Delphi I can see.

Thanks for any info!

Eivind
Tue, Dec 11 2018 7:29 AMPermanent Link

ooptimum

Try Shift+Wheel to scroll horizontally. It should be working in modern Firefox and Chrome.
Tue, Dec 11 2018 10:02 AMPermanent Link

Eivind

ooptimum wrote:

Try Shift+Wheel to scroll horizontally. It should be working in modern Firefox and Chrome.

Did some testing with that as well.... Most non EWB web sites actually scrolls horizontally by using the horizontal scroll wheel. However, EWB's horizontal scroll bars and TScrollPanels does not respond to either a horizontal scroll wheel input or using Shift+Wheel. They simple scrolls vertically even holding the Shift key down. Would love to have this working for my users when they are using my looooong horizontal time line
Tue, Dec 11 2018 10:40 AMPermanent Link

Matthew Jones

You need to determine the mechanism that the horizontal wheel is using to indicate that mode. Get the Windows message inspector thingy (gosh, so long ago since I used that!) and see what it is sending. Then you can tell Tim so he can understand what is needed.



--

Matthew Jones
Wed, Dec 12 2018 1:49 AMPermanent Link

Eivind

"Matthew Jones" wrote:

<You need to determine the mechanism that the horizontal wheel is using to indicate that mode. Get the Windows message inspector thingy (gosh, so long ago since I used that!) and see what it is sending. Then you can tell Tim so he can understand what is needed.>

Matthew.
Never heard about that test app you mention. However, the vertical scroll messages are sent by the mouse and received by the browser as indicated above. All other web sites I tested with scrolled successfully horizontally except EWB apps. This goes for both the ViewPort and TScrollPanel. None of them receives vertical scroll messages. To test I also held the shift key down and used the main scroll wheel, but those was interpreted as vertical scroll. However, on other web sites I also tested by holding down the shift key and they scrolled correctly horizontally.

So yea, to me it looks like horizontal scroll messages are being ignored by EWB og translated into vertical scroll messages.
Wed, Dec 12 2018 3:42 AMPermanent Link

Matthew Jones

Eivind wrote:

> Never heard about that test app you mention. However, the vertical scroll messages are sent by the mouse and received by the browser as indicated above. All other web sites I tested with scrolled successfully horizontally except EWB apps. This goes for both the ViewPort and TScrollPanel. None of them receives vertical scroll messages. To test I also held the shift key down and used the main scroll wheel, but those was interpreted as vertical scroll. However, on other web sites I also tested by holding down the shift key and they scrolled correctly horizontally.

The one I use is called WinSpector, but seems to have disappeared from the web. There is Spy++ still from Microsoft: https://docs.microsoft.com/en-us/visualstudio/debugger/introducing-spy-increment?view=vs-2017

This is all about windows messages, and what is sent to the window for it to react to. The browser may react in general ways, and obviously there may be controls over scrolling that EWB is setting. Knowing which one would help pin it down.

--

Matthew Jones
Wed, Dec 12 2018 9:39 AMPermanent Link

Eivind

Yea, wold be nice if Tim could shed some light on this as well as I know my mouse works as it should and the browser itself is receiving the horizontal scroll messages and obviously passes them on to the web sites (except EWB)
Wed, Dec 12 2018 2:11 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Eivind,

<< Just wondering if anyone have tried to use mouse with a horizontal scroll wheel on EWB apps? >>

The legacy browser mousewheel event in browsers isn't supported in IE, hence EWB doesn't support horizontal scrolling at this time.  There's a new wheel event that adds support for horizontal scrolling, but I will need to update all of the scroll events, etc. to support horizontal scrolling indicators.

Tim Young
Elevate Software
www.elevatesoft.com
Thu, Dec 13 2018 12:09 PMPermanent Link

Eivind

Thanks for the info Tim! Do keep us updated when you have time to look into the horizontal scrolling
Thu, Dec 13 2018 2:39 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Eivind,

<< Thanks for the info Tim! Do keep us updated when you have time to look into the horizontal scrolling
>>

I'm going to be killing a lot of legacy code after EWB 3 is released, so look for it then.

Tim Young
Elevate Software
www.elevatesoft.com
Image