I had searched and find How can I see who triggered an action in Delphi?
The solution for that question is using TAction.ActionComponent.
I have a form with a TGestureManager, setting up standard gesture (say left and right) with actions.
Now In the execute event, it is good to know which component has initialized the gesture so that I can decide what to do. (e.g. there are two panel and I need to know which panel to scroll).
However, The TAction.ActionComponent is nil in this case.
I tried OnGesture but defined Gesture do not trigger that event and the sender is always the form itself.
So How can I know which component had triggered that Gesture action?
Thank you.