delphi - How to know which control was clicked when sharing an action? -
this question has answer here:
- which way taction has been fired? 1 answer
i'm implementing actions (in tactionmanager
) user interface. controls, when clicked, execute same action. however, in action handler, need know control clicked user. sender
taction
instead of originating control.
how can identify control using action pressed user?
you can obtain information actioncomponent
property of action.
Comments
Post a Comment