标题: UG中怎样用 菜单调用KF的类, [打印本页] 作者: whllenny 时间: 2005-3-2 22:08 标题: UG中怎样用 菜单调用KF的类, 各位仁兄,快来救我.我遇到一个麻烦,谁能帮一下.看下面的例子,我不管怎么试,都不能实现.
A Knowledge Fusion User Interface Styler dialog can be invoked from Open MenuScript so that you can create custom menu bars or toolbars that contain Knowledge Fusion User Interface Styler application dialogs. To start a Knowledge Fusion User Interface Styler dialog you set the ACTION in the menu file to be a class name with a .dfa file extension. For example:
MENU CUSTOM
BUTTON KF_DIALOG1
LABEL Create Class
ACTIONS myclass.dfa
END OF MENU
This MenuScript sample creates a new menu that has one button labeled "Create Class". The button is associated with the myclass.dfa file and therefore with a myclass.dlg file. Selecting the button would display the application dialog in create mode.