|
发表于 2023-12-27 16:52:13
|
显示全部楼层
- ; load("men-toolbar.il")
- ;("\316\322\265\304\271\244\276\337","command")/*自定义*/
- ;(separator)/*添加菜单分组横线*/
- ;Skll码命令密码注释
- defun(Main_Menu_WeSkill (t_menuName)
- _Menu_WeSkill = '( /*定义一个list*/
- (popup "WeSkill")/*添加自定义菜单 "Skill Tools"*/
- ("\327\252Skill\302\353","Chinese2GBK")/*转Skill码*/
- ("\265\245\316\273\327\252\273\273","Conv")/*单位转换*/
- (popup "\306\344\313\373")/*其他*/
- ("moban","command")/*moban*/
- (end)
- (end)
- )
- let( (q)/*定义局部变量*/
- q = axlUIMenuFind( nil -1)/*定位菜单位置于主菜单尾部*/
- axlUIMenuInsert(q _Menu_WeSkill) ) )
- axlTriggerSet('menu 'Main_Menu_WeSkill)/*某个事件触发相应函数,本命令是自动加载菜单的关键!*/
复制代码 |
|