Search found 2 matches

by dmo9999
Tue Apr 05, 2022 2:58 pm
Forum: VCL
Topic: WheelEvent queue in the OnZoom handler
Replies: 1
Views: 1956

WheelEvent queue in the OnZoom handler

Our test team performs negative testing. The testers have discovered a performance issue using the MouseWheel zoom. They roll the wheel is both directions rapidly and multiple times. This causes the WheelEvent queue to load up. The user stops the wheel movement, but the Zoom in/out actions continue ...
by dmo9999
Tue Apr 05, 2022 2:55 pm
Forum: VCL
Topic: TChart.OnZoom handler
Replies: 1
Views: 1890

TChart.OnZoom handler

I created a TChart.OnZoom handler.
The handler can be invoked via a Rectangle Drag action OR a MouseWheel forward/back action.
I would like to handle these two cases differently.

Is there a way to determine what action invoked the OnZoom event within the handler?