如何重命名对话框按钮或在Ax 2012中创建新的? [英] How to rename dialog box buttons or create new in Ax 2012?

查看:225
本文介绍了如何重命名对话框按钮或在Ax 2012中创建新的?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

可以重命名对话框按钮吗?

例如在okCancel可以重命名ok 按钮为继续

Is it possible to rename dialog box buttons?
For example on "okCancel" can I rename the "ok" button as "continue"?

如果不是,请指导我如何创建我自己的对话框?

If not please guide me how can I create my own dialog box?

提前感谢

推荐答案

按钮有一个文本属性。
您可以通过代码设置该属性或执行此操作:

A button has a "Text" property. You can set that property or do so by code:

okButton.text("Continue");

Box :: okCancel code> DialogBox 类是一个内核类,不能被更改。
另一方面, yesNoAxaptaForm 方法使用AX表单,因此您可以自己滚动。
这表示似乎没有什么价值。

The Box::okCancel uses the DialogBox class which is a kernel class and cannot be changed. The yesNoAxaptaForm method on the other hand uses an AX form, so you can roll on your own. That said it seems to gain little value.

还要考虑使用一个表单的RunBase框架,如 Tutorial_RunbaseForm class。

Also consider using the RunBase framework with a form, as demonstrated in the Tutorial_RunbaseForm class.

这篇关于如何重命名对话框按钮或在Ax 2012中创建新的?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆