Jump to content

风吹小机机

uniGUI Subscriber
  • Posts

    157
  • Joined

  • Last visited

  • Days Won

    5

Posts posted by 风吹小机机

  1. On 1/13/2021 at 11:06 PM, alp.yilmaz said:

    Bless your hands, It's So Beautiful. Is It Possible To Share This With Us ..

    It's not easy for me to access the Internet. I have set up a chat group. Please use international QQ, group number: 59076669

  2. HI,Please help me.

    How can I upload the report file designed by FastReport in Delphi development environment to the server

    How to download the report file of the server

    I use the TUniFileUpLoad control to upload without FR3 format

    Download FR3 file from server

    I use it uniApplication.UniSession.SendStream (m, q.fieldbyname ('repname '). Asstring); Method Download also has no response

     

  3.   //设置排序字段
      treeMenus.ColumnByName('Serial').Sortable := True;
      //自动排序JS
      treeMenus.ClientEvents.ExtEvents.Values['store.load'] := ' function store.load(sender, records, successful, operation, eOpts){'
                                                             + '   sender.remoteSort = false;'
                                                             + '   sender.sort({property:' + IntToStr(treeMenus.ColumnByName('Serial').Index) + ',direction:"ASC"});'
                                                             + ' }';

  4. How to get the coordinates of a tree node by dragging it to the panel

    code

    TreeView01.ClientEvents.UniEvents.Values['beforeInit'] := ' function beforeInit(sender, config){'
                                                                + '   config.viewConfig = {'
                                                                + '     plugins: {'
                                                                + '       ptype: ' + QuotedStr('treeviewdragdrop') + ','
                                                                + '       ddGroup: ''FieldDrag'','
                                                                + '       enableDrop: false'
                                                                + '     }'
                                                                + '   };'
                                                                + ' }';

    Panel01.ClientEvents.ExtEvents.Values['afterrender'] := 'function afterrender(sender, eOpts){'
                                                              + '  var me = sender;'
                                                              + '  me.dropTarget = Ext.create(''Ext.dd.DropTarget'', me.getEl(), {'
                                                              + '  ddGroup: ''FieldDrag'','
                                                              + '    notifyDrop: function(source, evt, data) {'

                                                             //Drag the tree node to the coordinates of the panel????


                                                              + '   ajaxRequest(me, ''dropped'', [''text='' + data.records[0].data.text,''id='' + data.records[0].data.id]);'
                                                              + '  },'
                                                              + '  notifyEnter: function() {'
                                                              + '  }'
                                                              + '  });'
                                                              + '  }';

     

  5. 57 minutes ago, Farshad Mohajeri said:

    Our portal is running on a high speed server which is located in the UK.

    I can download from our portal with a speed up to 100 mb/s.

    There can be an issue with your provider and sites in the Europe.

     

    thank you

    It has been downloaded from the server

    Can the downloaded installation be installed directly?

    There is no need to register

    Can I only install one machine

  6. Same question

    UniURLFrame1.HTML:

    <!--核心库-->

    <link rel=stylesheet href="uni-1.90.0.1514/codemirror-5.25/doc/docs.css">

    <link rel="stylesheet" href="uni-1.90.0.1514/codemirror-5.25/lib/codemirror.css">

    <script src="uni-1.90.0.1514/codemirror-5.25/lib/codemirror.js"></script>

    <!--支持主题-->

    <link rel="stylesheet" href="uni-1.90.0.1514/codemirror-5.25/theme/abcdef.css">

    <!--选中行亮显-->

    <script src="uni-1.90.0.1514/codemirror-5.25/addon/selection/active-line.js">

    </script>

    <!--匹配括号-->

    <script src="uni-1.90.0.1514/codemirror-5.25/addon/edit/matchbrackets.js"></script>

    <!--支持语言-->

    <script src="uni-1.90.0.1514/codemirror-5.25/mode/pascal/pascal.js">

    </script><style type="text/css">.CodeMirror {border-top: 0px solid black; border-bottom: 0px solid black;}</style>

    <!--创建对象-->

    <div><textarea id="O109code" name="O109code">begin
      
    end.</textarea>

    </div>

    <!--执行脚本-->

    <script>var  O109editor = CodeMirror.fromTextArea(document.getElementById("O109code"), {    

    theme:"abcdef",    styleActiveLine: true,    lineNumbers: true,    lineWrapping:true,    foldGutter: true,    tabSize:4,    gutters:["CodeMirror-linenumbers", "CodeMirror-foldgutter"],    fullScreen:true,    matchBrackets:true,    mode: "text/x-pascal"});    

    O109editor.setSize('100%', '100%');

    </script>

    How to call O109editor. Getdoc(). SetValue in Delphi

     


     

     

  7. Find an available Pascal code highlighting text editor

    Tunisyntaxeditex is not easy to use

    Unable to locate cursor, current line cannot change line color

    It also conflicts with echarts

     

    rev.20200309

    Thank you for your reply,

    I don't use tunisyntaxeditex anymore

    Now we use tunicustomurlframe to load codemirror-5.25

    A lot of information

    Finally: focus line, code prompt, script debugging

×
×
  • Create New...