如何使对话框元素可折叠? [英] How to make dialog elments collapsible?

查看:109
本文介绍了如何使对话框元素可折叠?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以通过X ++使DialogGroup元素折叠?

Is there any way to make DialogGroup elements collapsible through X++?

我一直在研究MSDN并完成课程,但似乎找不到有用的东西.

I've been looking at MSDN and going through the class but I don't seem to find something that would be useful.

另一位开发人员将两个组添加到创建付款建议时显示的对话框(CustVendPaymJournal_Vend类),并且在较小的分辨率(1024x768)上不再显示确定"和取消"按钮.

Another developer has added two groups to the dialog that is displayed when creating a payment proposal (CustVendPaymJournal_Vend Class) and the "Ok" and "Cancel" buttons are no longer displayed on smaller resolutions (1024x768).

我的方法是使某些组可折叠以使对话框能够显示此类按钮.

My approach is to make some of the groups collapsible to enable the dialog to display such buttons.

推荐答案

我找到了.

在看了MSDN超过我想要的时间之后,我找到了解决方案:

After looking at the MSDN for quite longer than I would have wanted to, I found the solution:

创建DialogGroup后 dialogGroupProposalType = dialog.addGroup("@SYS88520");

Once the DialogGroup is created dialogGroupProposalType = dialog.addGroup("@SYS88520");

有一种名为frameOptionButton()的方法,该方法接收FormFrameOptionButton枚举值作为参数.

There is a method called frameOptionButton() available, which receives a FormFrameOptionButton ennumeration value as parameter.

dialogGroupProposalType.frameOptionButton(FormFrameOptionButton::Hide);

http://msdn.microsoft .com/en-us/library/aa845161(v = ax.50).aspx#F

http://msdn.microsoft.com/en-us/library/aa627673(v=ax.50).aspx

http://msdn.microsoft.com/en-us/library/aa627673(v=ax.50).aspx

http://msdn.microsoft.com/en-us/library/aa592526(v=ax.50).aspx

这篇关于如何使对话框元素可折叠?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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