Jump to content

ChenHaibin

Members
  • Posts

    201
  • Joined

  • Last visited

  • Days Won

    4

Posts posted by ChenHaibin

  1. Hi,

     

    I put OnResize property for this problem.

    You can you this property for solve this.

     

    This Example When panel resized My UniXDBGrid1 on then panel resized and fit to parent xPanel.

     

    Procedure TFPSample.xpRightResize(This: TExtBoxComponent; AdjWidth, AdjHeight, RawWidth, RawHeight: Integer);
    Begin
     UniXDBGrid1.SetBounds( 0, 0, AdjWidth, AdjHeight ) ;
    End ;
    

     

    Best Regards

     

    TExtBoxComponent need to use which unit?

  2. I share a friend's website, this site has been developed in intraweb+extjs,ADOQuery+MSSQL2008,two-tier structure , very faster,

    if unigui is also able to achieve this speed then great ...

    http://218.87.122.217:8089 userid:6502 password:2

     

     

    Many of us are using unigui to develop some test software,

    but,We encountered an "Ajax Error" network latency problems both in dll and exe.

    Some people suggest that we adopted a three-tier structure: ADOQuey+Provider+ClientDataset+unigui, This may be able to solve that Ajax Error.

     

    We want to get some suggestions here......

  3. I am developing car tracking system which started for 5 month ago with unigui. Approximately, in a day, 500 Client connecting, creating pdf and excel docs, Watching his cars, etc...

     

    Firstly, i dont have to any knowledge for unigui. But now i know %90 of unigui. And I say unigui is wonderful.

     

    Now i developing another programs with unigui.

     

    God bless you Farshad :)

     

    I think this is a very good news,It strengthened my confidence。Thank you!

  4. Yes, like all web systems with, for example, a simple front-end/back-end configuration.

     

    Once you obtain a specific and optimal max concurrent user for a particular web server configuration, all you need to do is to put a N servers front-end with a load balancer in front of them. Of course, database must be separated and implemented in back-end.

     

    Regards,

     

    Did you have developed with unigui in large projects ?

  5. With UniPanel

     

    ClientEvents.ExtEvents, OnAfterrender

     

    function OnAfterrender(sender)
    {
     sender.setBodyStyle('border-radius','5px');
    }

     

    regards

     

    Error:

    O14F=new Ext.Panel({id:"O14F_id",layout:"absolute",bodyBorder:false,baseCls:"x-window",html:"",width:1196,height:496,x:0,y:0,style:"border:none"});O14F.nm="O14F";_cdo_("MarkersFrm");MarkersFrm.ajxS=AjaxSuccess;MarkersFrm.ajxF=AjaxFailure;MarkersFrm.form=O10;O14F.rootObj=true;MarkersFrm.appRoot="/";_cdo_("FramePanel",O14F,null,MarkersFrm); O15E=new Ext.Panel({id:"O15E_id",layout:"absolute",baseCls:"",width:192,height:496,x:0,y:0});O15E.nm="O15E";_cdo_("UniPageControl1",O15E,null,MarkersFrm); O16D=new Ext.TabPanel({plain:true,anchor:"0 0",enableTabScroll:true,deferredRender:false,id:"O16D_id",activeTab:0});O16D.nm="O16D";O16D.on("tabchange",function(P0,P1){ if (typeof P1=="undefined") return; _rpl_(P1,false,true);return Ext.Ajax.request({url:"/HandleEvent",params:"Ajax=1&IsEvent=1&Obj=O16D&Evt=tabchange&This="+P0.nm+"&Tab="+P1.nm+""+_gv_(O10),success:AjaxSuccess,failure:AjaxFailure,obj:O16D,e:"tabchange"});});O15E.add(O16D); O17C=new Ext.Panel({y:22,anchor:"0 0",baseCls:"x-tab-panel-inner"});O17C.nm="O17C";O15E.add(O17C);O14F.add(O15E);O10.doLayout(false,false); O18B=new Ext.Panel({id:"O18B_id",layout:"absolute",bodyBorder:false,cls:"x-tab-panel-sheet",forceLayout:true,itemId:"1",baseCls:"x-window",width:186,height:468,x:0,y:28,title:"functions",style:"border:none"});O18B.nm="O18B";_cdo_("UniTabSheet1",O18B,null,MarkersFrm);_psr_(O18B);O16D.add(O18B);O10.doLayout(false,false); O19A=new Ext.Panel({id:"O19A_id",layout:"absolute",bodyBorder:false,baseCls:"x-window",html:"\x3Ctable border=\"0\" width=\"100%\" height=\"100%\"\x3E\x3Ctr\x3E\x3Ctd id=\"O19A_id_td\" style=\"font:11px Tahoma;text-align:center\"\x3EUniPanel2\x3C/td\x3E\x3C/tr\x3E\x3C/table\x3E",width:142,height:119,x:25,y:128,bodyStyle: "background-color:#3399FE",style:"border:thin outset white"});O19A.nm="O19A";_cdo_("UniPanel2",O19A,null,MarkersFrm);_coe_(MarkersFrm,"UniPanel2",null,"afterrender",function(sender) { sender.setBodyStyle('border-radius','5px'); });O18B.add(O19A);O10.doLayout(false,false); O1A9=new Ext.Panel({id:"O1A9_id",layout:"absolute",bodyBorder:false,baseCls:"x-window",html:"\x3Ctable border=\"0\" width=\"100%\" height=\"100%\"\x3E\x3Ctr\x3E\x3Ctd id=\"O1A9_id_td\" style=\"font:11px Tahoma;text-align:center\"\x3EUniPanel1\x3C/td\x3E\x3C/tr\x3E\x3C/table\x3E",width:998,height:494,x:196,y:0,style:"border:thin outset white"});O1A9.nm="O1A9";_cdo_("UniPanel1",O1A9,null,MarkersFrm);O14F.add(O1A9);O10.doLayout(false,false); O1B8=new Ext.Panel({id:"O1B8_id",layout:"absolute",bodyBorder:false,border:false,width:1000,height:496,x:0,y:0});O1B8.nm="O1B8";_cdo_("UniGMap1",O1B8,null,MarkersFrm);O1A9.add(O1B8);O10.doLayout(false,false); O1C7=new Ext.Panel({id:"O1C7_id",baseCls:"x-window",bodyBorder:false,border:false,width:4,height:496,x:192,y:0});O1C7.nm="O1C7";_cdo_("UniSplitter1",O1C7,null,MarkersFrm); O1D6=new Ext.Panel({id:"O1D6_id",anchor:"r b",bodyBorder:false,border:false});O1D6.nm="O1D6";O14F.add(O1C7);O10.doLayout(false,false);O14F.add(O1D6);O10.doLayout(false,false);O6B.add(O14F);O10.doLayout(false,false);O6B.setTitle("map","");O15E.Id1="O4D_id";O15E.Id2="O6B_id";O18B.Id1="O4D_id";O18B.Id2="O6B_id";O19A.Id1="O16D_id";O19A.Id2="O18B_id";O1A9.Id1="O4D_id";O1A9.Id2="O6B_id";O1B8.Id1="O4D_id";O1B8.Id2="O6B_id";O1C7.Id1="O4D_id";O1C7.Id2="O6B_id"; O1E5=new Ext.util.TaskRunner(50);O1E5.nm="O1E5";_cdo_("UniTimer1",O1E5,null,MarkersFrm);try{O1E5.stopAll()}catch(e){}; O1E6= ({run: function(){ O1E5.cEvent(O1E5);Ext.Ajax.request({url:"/HandleEvent",params:"Ajax=1&IsEvent=1&Obj=O1E5&Evt=timer"+_gv_(O10),success:AjaxSuccess,failure:null,obj:O1E5});}, interval:10});O1E6.nm="O1E6";O1E5.cEvent=function(sender) { } ;O1E5.start(O1E6);O1E6.taskRunTime=O1E6.taskStartTime;O14F.Id1="O4D_id";O14F.Id2="O6B_id";O16D.setActiveTab("1");O18B.doLayout(false,false); O1E7=new Ext.SplitBar("O1C7_id","O1D6_id",2,1);O1E7.nm="O1E7";O1E7.minSize=30;O1E7.maxSize=10000;O1E7.on("moved",function(P0,P1){return Ext.Ajax.request({url:"/HandleEvent",params:"Ajax=1&IsEvent=1&Obj=O1E7&Evt=moved&This="+P0.nm+"&NewSize="+P1+""+_gv_(O10),success:AjaxSuccess,failure:AjaxFailure,obj:O1E7,e:"moved"});});O1E7.setCurrentSize(192);O1E7.setAdapter(new Ext.SplitBar.AbsoluteLayoutAdapter("O14F_id"));

  6. I checked the log file and found this prompt

     

    00000D24: 10:33:53 [indy]:EIdConnClosedGracefully : Connection Closed Gracefully.

    00000D04: 11:34:38 [indy]:EIdConnClosedGracefully : Connection Closed Gracefully.

    00000410: 11:34:38 [indy]:EIdConnClosedGracefully : Connection Closed Gracefully.

    00000F0C: 11:37:42 [indy]:EIdConnClosedGracefully : Connection Closed Gracefully.

    00000F58: 11:42:28 [indy]:EIdConnClosedGracefully : Connection Closed Gracefully.

    000008A4: 11:42:28 [indy]:EIdConnClosedGracefully : Connection Closed Gracefully.

    000001F0: 11:42:28 [indy]:EIdConnClosedGracefully : Connection Closed Gracefully.

    0000021C: 11:42:28 [indy]:EIdConnClosedGracefully : Connection Closed Gracefully.

    00000E4C: 11:42:28 [indy]:EIdConnClosedGracefully : Connection Closed Gracefully.

    000004B8: 11:42:28 [indy]:EIdConnClosedGracefully : Connection Closed Gracefully.

     

    'Server unavailable, please try later' error log file does not have a new record on this......

    Do not know how to deal with.

×
×
  • Create New...