如何获取从调用者表单中单击的控件?

问题描述 投票:0回答:1

在命令类链中使用以下代码,我能够找到调用者表单:

Object caller = this.args().caller();

如何从命令链中查找调用者表单中单击的控件?

axapta x++ dynamics-365-operations
1个回答
1
投票

方法如下:

this.args().callerFormControl().name();
© www.soinside.com 2019 - 2024. All rights reserved.