In Delphi on ActionToolBar how to get "Tag" property of Submenu Item on Action->onExecute event.
So not Action Tag , I need TActionClientItem ("Open") tag property on submenu trigger that action OR Main Button (Action2) Tag or even Main Button ("Action2") index (position) on ActionToolBar … all on Submenu Action-> onExecute event
AFAIK, that is not possible.
Usually the triggering component can be retrieved via the action's ActionComponent
property, but doesn't work in this case because TActionClientItem
is not derived from TComponent
.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.