Delphi Android: Can’t capture mouse wheel events

  

I want to capture and process mouse wheel events in any condition and at all times in my Android application, while it’s running and visible.
I used the main Form’s event like this:
procedure THeaderFooterwithNavigation.FormMouseWheel(Sender: TObject;
Shift: TShiftState; WheelDelta: Integer; var Handled: Boolean);
begin
label2.text := inttostr(wheeldelta);
end;

It works very well with the Windows version of the app (Delphi builds by default for both Android and Windows simultaneously), but in the Android version it seems to not do anything.
Then I added that procedure to every component that had the same mouse wheel event, with the exact same results.
The OTG mouse wheel works well with the android device, scrolling through text windows, etc., only my Delphi application doesn’t seem to respond to the mouse wheel at all.
What do I need to capture mouse wheel events?

Comments are closed.