摘要: int ret, j, i; DictTable dictTable; DictField DictField; str curFieldName; ; dictTable = new DictTable(tableNum(yourTableName)); i = dictTable.fieldCn 阅读全文
posted @ 2019-06-09 12:07 学习是进步的阶梯 阅读(226) 评论(0) 推荐(0) 编辑
摘要: 方法一,使用扩展类型 tableName。 方法二,使用函数 PickTable(),参考下面的job(可以直接运行)。 static void GetSelectedTable(Args _args) { tableid a; ; a = pickTable(); print 'Table ID 阅读全文
posted @ 2019-06-09 12:06 学习是进步的阶梯 阅读(185) 评论(0) 推荐(0) 编辑
摘要: 1、Use Dictionary static void findTables(Args _args) { Dictionary dictionary; TableId tableId; tableName tableName; ; dictionary = new Dictionary(); ta 阅读全文
posted @ 2019-06-09 12:04 学习是进步的阶梯 阅读(231) 评论(0) 推荐(0) 编辑
摘要: 1、先在form的声明的地方声明变量。 public class FormRun extends ObjectRun { QueryBuildRange criteriaPosted; } 2、数据源(datasource)对应的表的ini方法。 public void init() { super 阅读全文
posted @ 2019-06-09 11:09 学习是进步的阶梯 阅读(215) 评论(0) 推荐(0) 编辑
摘要: static void createForm(Args _args) { Args args; Form form; FormRun formRun; FormBuildDesign formBuildDesign; FormBuildDataSource formBuildDataSource; 阅读全文
posted @ 2019-06-09 11:07 学习是进步的阶梯 阅读(184) 评论(0) 推荐(0) 编辑
摘要: 一、MultiSelectionHelper class MultiSelectionHelper selectionHelper; ProdTable localProdTable; FormRun fr; ; prodSet = new Set(Types::String); if (_args 阅读全文
posted @ 2019-06-09 11:04 学习是进步的阶梯 阅读(177) 评论(0) 推荐(0) 编辑
摘要: object caller = _args.caller();//element.args().caller() boolean isCallForm; ; // AX2009 isCallForm = SysDictClass::isEqualOrSuperclass(classidget(cal 阅读全文
posted @ 2019-06-09 10:55 学习是进步的阶梯 阅读(365) 评论(0) 推荐(0) 编辑
摘要: 1、代码顶端备注 public void WLComments_insertHeader(Editor e) { str commentLine; ; e.unmark(); e.gotoLine(1); e.gotoCol(1); commentLine = strfmt("// <Var> by 阅读全文
posted @ 2019-06-09 10:54 学习是进步的阶梯 阅读(159) 评论(0) 推荐(0) 编辑
摘要: static void WL_YZF_WinApiColorSelect(Args _args) { container ret; binary binary; ; setPrefix("RGB"); ret = winAPI::chooseColor(infolog.hWnd(), 0,0,0, 阅读全文
posted @ 2019-06-09 10:52 学习是进步的阶梯 阅读(143) 评论(0) 推荐(0) 编辑
摘要: static void WL_YZF_WinApiFontSelect(Args _args) { container ret; ; setPrefix("字体,字体大小"); ret = winAPI::chooseFont(infolog.hWnd(), sysFontType::Printer 阅读全文
posted @ 2019-06-09 10:51 学习是进步的阶梯 阅读(112) 评论(0) 推荐(0) 编辑