上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 22 下一页
摘要: static FormWindowControl showBitmap(FormWindowControl _control, Bitmap _bitmap, int _width=0, int _height=0) { real ratio; Image _image; ... 阅读全文
posted @ 2012-03-01 11:58 perock 阅读(286) 评论(0) 推荐(0) 编辑
摘要: 此方法是在Class SysSetupFormRun中 RUN() curEXT用于获取当前公司账号; public void run() { super(); this.design().colorScheme(2); switch (curEXT()) { case '011' : ... 阅读全文
posted @ 2012-03-01 11:48 perock 阅读(262) 评论(0) 推荐(0) 编辑
摘要: void startupPost() { int counter; int maxUserSessions = 1; int maxAdminSessions = 4; int num = 0; int maxSessions = Info::l... 阅读全文
posted @ 2012-03-01 11:45 perock 阅读(371) 评论(0) 推荐(0) 编辑
摘要: 两种方法: 第一: 查询userGroupList表 select userGroupList where userGroupList.userId == currentUserId && userGroupList.groupId == 'Admin' 第二: 执行EventSecurity::construct(curuserid()).isUserAdmin() ... 阅读全文
posted @ 2012-03-01 11:43 perock 阅读(765) 评论(0) 推荐(0) 编辑
摘要: 1.在FORM数据源下,覆盖方法displayOption(); 2.覆盖数据源的Write()方法:在Super之后写入 GridColours_ds.clearDisplayOption(gridColours); 处出关键地方是:affectedElementsByControl()方法。 public void displayOption(Common _record, Form... 阅读全文
posted @ 2012-03-01 11:32 perock 阅读(533) 评论(0) 推荐(0) 编辑
摘要: SysQuery::findOrCreateRange(qbds, fieldnum(InventJournalTrans, JournalId)).value(inventJournalTable.JournalId); ueryBuildDataSource = SysQuery::findOrCreateDataSource(_query, tablenum(InventPackagin... 阅读全文
posted @ 2012-03-01 11:00 perock 阅读(543) 评论(0) 推荐(0) 编辑
摘要: Object callerForm = args.caller(); ; if (callerForm && formHasMethod(callerForm,identifierstr(interCompanyRefreshCache))) { callerForm.interCompanyRefr... 阅读全文
posted @ 2012-03-01 09:35 perock 阅读(247) 评论(0) 推荐(0) 编辑
摘要: 使用Spliter控件: 首先声明 SysFormSplitter formSplitter; 添加一个Group 设置FrameType为Edged 3D,宽度2,覆盖方法 MouseUp; MouseMove; MouseDown; 三方法中写入代码: super(_x,_y,_butt... 阅读全文
posted @ 2012-03-01 09:24 perock 阅读(527) 评论(0) 推荐(0) 编辑
摘要: DateStartWk(today()); DateEndWk(today()) 阅读全文
posted @ 2012-03-01 09:16 perock 阅读(286) 评论(0) 推荐(0) 编辑
摘要: 转到主窗体设置步骤: 创建表MainTable 创建一个EDT 指向MainTable字段; 将EDT拖入MainTable生成表字段; 创建MainForm 将mainForm拖入MenuItem生成MenuItem; 设置MainTable属性FormRef指向MenuItem; 完成! 阅读全文
posted @ 2012-02-29 17:28 perock 阅读(251) 评论(0) 推荐(0) 编辑
上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 22 下一页