Jump to content

A_MU

Members
  • Posts

    15
  • Joined

  • Last visited

A_MU's Achievements

Newbie

Newbie (1/4)

1

Reputation

  1. That is to say: can not provide a method used during operation/control switch the front page with synchronous / asynchronous mode
  2. But I think there should be a way to control:Server finishes, the front page to send, during this period, the prospects of using a MASK to display the wait message
  3. Or how can I set chart value before completion, let charts do not render?
  4. OH,I usually use this pattern: open dbquery-->series.clear-->recycle read data and addto series,until query.eof.... What method can avoid such problems?
  5. i found an ajax error when set series values in runtime. see error.jpg. the error msg detail :------------------------------------------------------------------------------------------------------------------------------------- O35E.show();_ssz_(O35E,808,332);O35E.setPosition(0,35); O3BD=new Object({id:"zero",width:11,resizable:false,renderer:function(){return " ";}}); O3BE=new Ext.grid.Column({id:"0",dataIndex:"0",renderer:_rndcll_,rdonly:true,header:"日期",width:56,attr:"{}",editable:false,editor:O337}); O3BF=new Ext.grid.Column({id:"1",dataIndex:"1",renderer:_rndcll_,rdonly:true,header:"业务编号",width:70,align:"right",ct:"float",attr:"{}",editable:false,editor:O337}); O3C0=new Ext.grid.Column({id:"2",dataIndex:"2",renderer:_rndcll_,rdonly:true,header:"业务类别",width:56,attr:"{}",editable:false,editor:O337}); O3C1=new Ext.grid.Column({id:"3",dataIndex:"3",renderer:_rndcll_,rdonly:true,header:"当日新装量",width:70,align:"right",ct:"float",attr:"{}",editable:false,editor:O337}); O3C2=new Ext.grid.Column({id:"4",dataIndex:"4",renderer:_rndcll_,rdonly:true,header:"当月新装量",width:70,align:"right",ct:"float",attr:"{}",editable:false,editor:O337}); O3C3=new Ext.grid.Column({id:"5",dataIndex:"5",renderer:_rndcll_,rdonly:true,header:"当日报停量",width:70,align:"right",ct:"float",attr:"{}",editable:false,editor:O337}); O3C4=new Ext.grid.Column({id:"6",dataIndex:"6",renderer:_rndcll_,rdonly:true,header:"当月报停量",width:70,align:"right",ct:"float",attr:"{}",editable:false,editor:O337}); O3C5=new Ext.grid.Column({id:"7",dataIndex:"7",renderer:_rndcll_,rdonly:true,header:"当日拆机量",width:70,align:"right",ct:"float",attr:"{}",editable:false,editor:O337}); O3C6=new Ext.grid.Column({id:"8",dataIndex:"8",renderer:_rndcll_,rdonly:true,header:"当月拆机量",width:70,align:"right",ct:"float",attr:"{}",editable:false,editor:O337}); O3BB=new Ext.grid.ColumnModel({defaults: { menuDisabled: true },columns:[O3BD,O3BE,O3BF,O3C0,O3C1,O3C2,O3C3,O3C4,O3C5,O3C6]});O3BB.nm="O3BB";O3BD.nm="O3BD";O3BE.nm="O3BE";O3BF.nm="O3BF";O3C0.nm="O3C0";O3C1.nm="O3C1";O3C2.nm="O3C2";O3C3.nm="O3C3";O3C4.nm="O3C4";O3C5.nm="O3C5";O3C6.nm="O3C6";O325.reconfigure(O343,O3BB);O343.load({params:{start:75, limit:25, options:2}});O36D.removeAll(false); O3C7= Ext.data.Record.create(["A","B","C","D","E","F","G"]);O3C7.nm="O3C7";O36D.add([new O3C7({"A":"20120105","B":"311","C":"1116","D":"64","E":"204","F":"26","G":"257"}),new O3C7({"A":"20120105","B":"328","C":"1396","D":"66","E":"237","F":"24","G":"183"}),new O3C7({"A":"20120105","B":"150","C":"739","D":"5","E":"26","F":"3","G":"17"}),new O3C7({"A":"20120105","B":"1583","C":"7078","D":"57","E":"497","F":"45","G":"189"}),new O3C7({"A":"20120105","B":"62","C":"438","D":"1","E":"25","F":"4","G":"24"}),new O3C7({"A":"20120106","B":"360","C":"1475","D":"79","E":"282","F":"82","G":"342"}),new O3C7({"A":"20120106","B":"349","C":"1742","D":"58","E":"294","F":"50","G":"235"}),new O3C7({"A":"20120106","B":"158","C":"895","D":"12","E":"38","F":"10","G":"27"}),new O3C7({"A":"20120106","B":"953","C":"8026","D":"58","E":"554","F":"101","G":"294"}),new O3C7({"A":"20120106","B":"50","C":"488","D":"4","E":"29","F":"15","G":"40"}),new O3C7({"A":"20120107","B":"378","C":"1853","D":"123","E":"399","F":"96","G":"439"}),new O3C7({"A":"20120107","B":"399","C":"2141","D":"68","E":"357","F":"30","G":"267"}),new O3C7({"A":"20120107","B":"203","C":"1098","D":"4","E":"41","F":"5","G":"33"}),new O3C7({"A":"20120107","B":"730","C":"8747","D":"80","E":"632","F":"39","G":"331"}),new O3C7({"A":"20120107","B":"40","C":"527","D":"7","E":"36","F":"9","G":"49"}),new O3C7({"A":"20120108","B":"158","C":"2011","D":"39","E":"438","F":"201","G":"638"}),new O3C7({"A":"20120108","B":"186","C":"2327","D":"29","E":"385","F":"21","G":"287"}),new O3C7({"A":"20120108","B":"88","C":"1185","D":"3","E":"44","F":"9","G":"41"}),new O3C7({"A":"20120108","B":"420","C":"9161","D":"35","E":"667","F":"62","G":"393"}),new O3C7({"A":"20120108","B":"32","C":"559","D":"3","E":"39","F":"5","G":"54"}),new O3C7({"A":"20120109","B":"225","C":"2235","D":"86","E":"519","F":"139","G":"783"}),new O3C7({"A":"20120109","B":"217","C":"2542","D":"43","E":"421","F":"29","G":"320"}),new O3C7({"A":"20120109","B":"86","C":"1265","D":"12","E":"56","F":"8","G":"49"}),new O3C7({"A":"20120109","B":"1178","C":"10332","D":"52","E":"717","F":"67","G":"474"}),new O3C7({"A":"20120109","B":"61","C":"620","D":"3","E":"42","F":"1","G":"56"}),new O3C7({"A":"20120110","B":"214","C":"2448","D":"73","E":"587","F":"104","G":"897"}),new O3C7({"A":"20120110","B":"211","C":"2753","D":"59","E":"473","F":"27","G":"351"}),new O3C7({"A":"20120110","B":"77","C":"1341","D":"12","E":"66","F":"7","G":"56"}),new O3C7({"A":"20120110","B":"948","C":"11271","D":"67","E":"782","F":"46","G":"561"}),new O3C7({"A":"20120110","B":"46","C":"664","D":"9","E":"51","F":"10","G":"68"}),new O3C7({"A":"20120111","B":"206","C":"2649","D":"51","E":"639","F":"127","G":"1022"}),new O3C7({"A":"20120111","B":"228","C":"2975","D":"41","E":"513","F":"126","G":"476"}),new O3C7({"A":"20120111","B":"88","C":"1424","D":"8","E":"73","F":"12","G":"68"}),new O3C7({"A":"20120111","B":"913","C":"12178","D":"54","E":"833","F":"624","G":"1146"}),new O3C7({"A":"20120111","B":"42","C":"706","D":"3","E":"54","F":"28","G":"95"}),new O3C7({"A":"20120112","B":"252","C":"2899","D":"76","E":"715","F":"210","G":"1233"}),new O3C7({"A":"20120112","B":"308","C":"3279","D":"53","E":"563","F":"125","G":"608"}),new O3C7({"A":"20120112","B":"116","C":"1532","D":"10","E":"83","F":"5","G":"73"}),new O3C7({"A":"20120112","B":"1086","C":"13260","D":"51","E":"880","F":"431","G":"1578"}),new O3C7({"A":"20120112","B":"53","C":"758","D":"5","E":"59","F":"20","G":"115"}),new O3C7({"A":"20120113","B":"240","C":"3138","D":"92","E":"798","F":"71","G":"1305"}),new O3C7({"A":"20120113","B":"233","C":"3511","D":"82","E":"641","F":"67","G":"678"}),new O3C7({"A":"20120113","B":"129","C":"1659","D":"40","E":"121","F":"7","G":"81"}),new O3C7({"A":"20120113","B":"962","C":"14214","D":"42","E":"918","F":"261","G":"1846"}),new O3C7({"A":"20120113","B":"52","C":"810","D":"4","E":"63","F":"14","G":"130"}),new O3C7({"A":"20120114","B":"191","C":"3328","D":"84","E":"880","F":"52","G":"1359"}),new O3C7({"A":"20120114","B":"234","C":"3743","D":"32","E":"669","F":"51","G":"731"}),new O3C7({"A":"20120114","B":"129","C":"1787","D":"3","E":"124","F":"4","G":"85"}),new O3C7({"A":"20120114","B":"997","C":"15198","D":"58","E":"973","F":"188","G":"2036"}),new O3C7({"A":"20120114","B":"41","C":"851","D":"7","E":"69","F":"8","G":"139"}),new O3C7({"A":"20120115","B":"176","C":"3503","D":"74","E":"951","F":"31","G":"1390"}),new O3C7({"A":"20120115","B":"194","C":"3936","D":"65","E":"730","F":"23","G":"753"}),new O3C7({"A":"20120115","B":"68","C":"1854","D":"4","E":"127","F":"1","G":"86"}),new O3C7({"A":"20120115","B":"714","C":"15907","D":"33","E":"1003","F":"105","G":"2141"}),new O3C7({"A":"20120115","B":"55","C":"905","D":"3","E":"72","F":"5","G":"144"}),new O3C7({"A":"20120116","B":"226","C":"3724","D":"73","E":"1016","F":"68","G":"1459"}),new O3C7({"A":"20120116","B":"264","C":"4194","D":"65","E":"790","F":"45","G":"801"}),new O3C7({"A":"20120116","B":"84","C":"1936","D":"11","E":"138","F":"7","G":"95"}),new O3C7({"A":"20120116","B":"1052","C":"16944","D":"90","E":"1083","F":"101","G":"2244"}),new O3C7({"A":"20120116","B":"60","C":"965","D":"7","E":"77","F":"10","G":"155"}),new O3C7({"A":"20120117","B":"247","C":"3972","D":"58","E":"1071","F":"46","G":"1507"}),new O3C7({"A":"20120117","B":"288","C":"4481","D":"46","E":"830","F":"35","G":"837"}),new O3C7({"A":"20120117","B":"101","C":"2036","D":"9","E":"147","F":"13","G":"108"}),new O3C7({"A":"20120117","B":"899","C":"17835","D":"51","E":"1129","F":"112","G":"2356"}),new O3C7({"A":"20120117","B":"68","C":"1031","D":"4","E":"80","F":"5","G":"160"}),new O3C7({"A":"20120118","B":"221","C":"4190","D":"65","E":"1131","F":"35","G":"1548"}),new O3C7({"A":"20120118","B":"258","C":"4736","D":"55","E":"887","F":"15","G":"853"}),new O3C7({"A":"20120118","B":"112","C":"2145","D":"4","E":"151","F":"15","G":"123"}),new O3C7({"A":"20120118","B":"956","C":"18779","D":"50","E":"1177","F":"82","G":"2438"}),new O3C7({"A":"20120118","B":"68","C":"1098","D":"6","E":"86","F":"6","G":"166"}),new O3C7({"A":"20120119","B":"216","C":"4404","D":"67","E":"1196","F":"53","G":"1599"}),new O3C7({"A":"20120119","B":"220","C":"4952","D":"62","E":"937","F":"34","G":"890"}),new O3C7({"A":"20120119","B":"65","C":"2209","D":"3","E":"154","F":"12","G":"135"}),new O3C7({"A":"20120119","B":"946","C":"19714","D":"63","E":"1234","F":"61","G":"2499"}),new O3C7({"A":"20120119","B":"54","C":"1150","D":"7","E":"92","F":"3","G":"169"}),new O3C7({"A":"20120120","B":"233","C":"4635","D":"93","E":"1286","F":"26","G":"1627"}),new O3C7({"A":"20120120","B":"252","C":"5201","D":"62","E":"1000","F":"22","G":"913"}),new O3C7({"A":"20120120","B":"110","C":"2319","D":"50","E":"204","F":"0","G":"137"}),new O3C7({"A":"20120120","B":"808","C":"20500","D":"67","E":"1297","F":"76","G":"2591"}),new O3C7({"A":"20120120","B":"68","C":"1217","D":"6","E":"98","F":"1","G":"171"}),new O3C7({"A":"20120121","B":"212","C":"4844","D":"132","E":"1416","F":"48","G":"1673"}),new O3C7({"A":"20120121","B":"215","C":"5412","D":"45","E":"1041","F":"12","G":"925"}),new O3C7({"A":"20120121","B":"112","C":"2427","D":"4","E":"210","F":"5","G":"140"}),new O3C7({"A":"20120121","B":"688","C":"21178","D":"40","E":"1335","F":"64","G":"2642"}),new O3C7({"A":"20120121","B":"66","C":"1282","D":"7","E":"105","F":"4","G":"174"}),new O3C7({"A":"20120122","B":"68","C":"4912","D":"22","E":"1433","F":"5","G":"1679"}),new O3C7({"A":"20120122","B":"83","C":"5495","D":"31","E":"1069","F":"4","G":"929"}),new O3C7({"A":"20120122","B":"55","C":"2482","D":"5","E":"213","F":"1","G":"141"}),new O3C7({"A":"20120122","B":"274","C":"21450","D":"22","E":"1354","F":"30","G":"2672"}),new O3C7({"A":"20120122","B":"38","C":"1320","D":"1","E":"105","F":"0","G":"174"}),new O3C7({"A":"20120123","B":"30","C":"4942","D":"8","E":"1441","F":"0","G":"1679"}),new O3C7({"A":"20120123","B":"33","C":"5528","D":"5","E":"1074","F":"2","G":"931"}),new O3C7({"A":"20120123","B":"30","C":"2511","D":"2","E":"215","F":"0","G":"141"}),new O3C7({"A":"20120123","B":"203","C":"21651","D":"9","E":"1363","F":"2","G":"2674"}),new O3C7({"A":"20120123","B":"5","C":"1325","D":"0","E":"105","F":"0","G":"174"})]);O3AE.bindStore(O36D); --------------------------------------------------------------------------------------------------- what's this Abnormal causes? My Wrong usage or unigui?
  6. I need to write Log when UniMainModule Destory,so i write some code: procedure TUniMainModule.UniGUIMainModuleDestroy(Sender: TObject); begin with uniMainModule.OraQry_common do begin close; sql.Clear; sql.Add('update aks_ldap_log set logouttime='+#39+MyDayToStr(now)+#39+' where staff_id='+get_id_str(uniMainModule.UserInfo.User)+ ' and Session_ID='+#39+UniApplication.UniSession.SessionID+#39); uniMainModule.OraSession_master.StartTransaction; try execsql; uniMainModule.OraSession_master.commit; except on e:exception do begin uniMainModule.OraSession_master.Rollback; showmessage('Write Log Fail'+#13#10+e.Message); end; end; end; if DBConn_State then OraSession_Master.Close; end; But Compile fail,[DCC Error] MainModule.pas(208): E2003 Undeclared identifier: 'UniSession' Of cause,i write code ........................ var DBConn_State:boolean; implementation {$R *.dfm} uses UniGUIVars, ServerModule, uniGUIApplication; .......................... HOW CAN I DO?
  7. when I test this case with code: procedure TUniForm1.UniButtton1Click(Sender: TObject); begin UniDatetimePicker1.Enabled:=not UniDatetimePicker1.Enabled; UniDatetimePicker1.visible:=not UniDatetimePicker1.visible; UniLabel1.Visible:=not UniLabel1.Visible; end; ............... ps:UniServerModule.StandAloneServer:=true; Env: win64,D2010,UniGui Version is 0.87.0 build 907
  8. this function is implemented usually by JS or css i hope Realization by proprty with UniGUI component and can choose by developer
  9. the Method that is 'Name=Value' of combobox is usually used and implemented in VS Serials or Intraweb; Are there plans to develop this function support TUniCombobox?
  10. TEST CASE test1.rarSee Annex
  11. HI, Frarshad, FIRST,My Englishis very pool, I want to implement Autoscroll with UniMemo in WEB MODE,FOR example,show announcement to user, i have test case: use a timmer, ----------------------------------------------------------------------------- procedure TMainForm.UniTimer1Timer(Sender: TObject); var i:integer; begin i:=0; if uniMemo_announce.Lines.Count=0 then uniMemo_announce.Lines:=Announce_str; repeat if uniMemo_announce.Lines.Count=1 then exit; uniMemo_announce.Lines.Strings:=uniMemo_announce.Lines.Strings[i+1]; inc(i); until i=uniMemo_announce.Lines.Count-1; uniMemo_announce.Lines.Delete(i); uniMemo_announce.Refresh; end; // PS:Announce_str IS A GLOBAL VARIABLE ----------------------------------------------------------------------------------- COMPILE IS CORRECT;but no anything effect in runtime; in the other case: procedure TMainForm.UniTimer1Timer(Sender: TObject); begin unilabel1.caption:=datetimetostr(now); end; in runtime,this is effect that i need; why?
×
×
  • Create New...