摘要:        
static FormWindowControl showBitmap(FormWindowControl _control, Bitmap _bitmap, int _width=0, int _height=0) { real ratio; Image _image; ...    阅读全文
posted @ 2012-03-01 11:58
perock
阅读(294)
评论(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
阅读(273)
评论(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
阅读(393)
评论(0)
推荐(0)
        
            
        
        
摘要:        
两种方法: 第一: 查询userGroupList表 select userGroupList where userGroupList.userId == currentUserId && userGroupList.groupId == 'Admin' 第二: 执行EventSecurity::construct(curuserid()).isUserAdmin() ...    阅读全文
posted @ 2012-03-01 11:43
perock
阅读(821)
评论(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
阅读(558)
评论(0)
推荐(0)
        
            
        
        
摘要:        
SysQuery::findOrCreateRange(qbds, fieldnum(InventJournalTrans, JournalId)).value(inventJournalTable.JournalId); ueryBuildDataSource = SysQuery::findOrCreateDataSource(_query, tablenum(InventPackagin...    阅读全文
posted @ 2012-03-01 11:00
perock
阅读(558)
评论(0)
推荐(0)
        
            
        
        
摘要:        
Object callerForm = args.caller(); ; if (callerForm && formHasMethod(callerForm,identifierstr(interCompanyRefreshCache))) { callerForm.interCompanyRefr...    阅读全文
posted @ 2012-03-01 09:35
perock
阅读(253)
评论(0)
推荐(0)
        
            
        
        
摘要:        
使用Spliter控件: 首先声明 SysFormSplitter formSplitter; 添加一个Group 设置FrameType为Edged 3D,宽度2,覆盖方法 MouseUp; MouseMove; MouseDown; 三方法中写入代码: super(_x,_y,_butt...    阅读全文
posted @ 2012-03-01 09:24
perock
阅读(544)
评论(0)
推荐(0)
        
            
        
        
摘要:        
DateStartWk(today()); DateEndWk(today())    阅读全文
posted @ 2012-03-01 09:16
perock
阅读(298)
评论(0)
推荐(0)
        
                    
                
浙公网安备 33010602011771号