AngelaIp
7 years agoIdeator I
How can I pass additional event parameters in CUI elements?
Hi community,
does anybody know, if it´s possible to pass additional event parameters in CUI elements?
Example: I have three CUI menu buttons that do a more or less comparable job. The correspon...
- 7 years ago
Hi Angela,
You might be able to get the name of the button being called by using inArgs.control.GetId();. Based on the result of that function, you can use a switch statement or some conditional logic to run your location-specific code. Note that I tested this in 11.0 SP15, and you'll need to do some verification to confirm that the control name is accessible through this object in every location.
If this function is not accessible in all CUI locations, could you let me know what version of Innovator you are using, so I can try to find a common lookup in that version?
Chris
Christopher Gillis
Aras Labs Software Engineer