Jump to content

SISBLU Software

uniGUI Subscriber
  • Posts

    196
  • Joined

  • Last visited

  • Days Won

    2

Posts posted by SISBLU Software

  1. has not ClientEvents -> ExtEvents -> function focus:

     

    Solution:

    ClientEvents -> ExtEvents ->

    function afterrender(sender, eOpts)
    {
    var me=sender.inputEl;      
        me.set({
            readonly: "readonly"
        });
        
        sender.addListener(
            'focus',
            function(sender, e, eOpts) {
                me.el.dom.removeAttribute('readonly');
            }
        );
    }

  2. Hello, Any Solution? The BORDER BLACK , How to remove this other border ???

    This result

      UniHTMLMemo2.JSInterface.JSAddListener('initialize', 'function(editor){'+
                                  '  const bodyArea = editor.getEditorBody();'+
                                  '  bodyArea.style["border"] = "1px solid";'+
                                  '  bodyArea.style["border-radius"] = "5px";'+
                                  '  bodyArea.style["padding"] = "5px";'+
                                  '  bodyArea.style["line-height"] = "2";'+
                                  '  bodyArea.style["background-color"] = "#0190FD";'+
                                  '  bodyArea.style["background-image"] = "linear-gradient(180deg, #0190FD, #0169FF)";'+
                                  '}'
        );

     

    image.png.5cf35e3a28d548e1459fa4661fa2df90.png

  3. I solved

     

    function frameload(sender, frame, eOpts)
    {
     var frm = UniFPrint.UniURLFrame1.iframe;
     var Imprimir = UniFPrint.UniEdit1.getValue();   

     if (Imprimir ==  1){   
     if (frm) {
     printIframe(frm);
     }
     }
    }

  4. Hello, I have this function on the button to print and ITS WORK

     

    function click(sender, e, eOpts)
    {
     var frm = UniFPrint.UniURLFrame1.iframe;
     if (frm) {
     printIframe(frm);
     }
    }

    ----------------------------

    I want to do a conditional, how can I do?

     

    function frameload(sender, frame, eOpts)
    {
     var frm = UniFPrint.UniURLFrame1.iframe;
     var Imprimir = UniFPrint.UniEdit1.text;
     

     if (Imprimir ==  1){
     
     if (frm) {
     printIframe(frm);
     }
     }
    }

  5. Perfect... 

    On 7/30/2020 at 1:46 AM, Sherzod said:

    Try this workaround for now:

    
    function afterrender(sender, eOpts)
    {
        var me=sender;
        if (me.editingPlugin.isRowEditor) {
            
            me.editingPlugin.editorCfg.listeners = {
                show: function(a) {
                    a.items.each(function(f) {
                        f.setEditable(!f.column.rdonly)
                    })
                }
            };
        };
    }

     

    Perfect. This problem will be solved in the next update?

  6. procedure TMainForm.UniFormCreate(Sender: TObject);
    begin
      TUniLineSeries(UniBarSeries1).ShowMarkers := False;
    end;

    Perfect ... thank you very much! - this Work

    ---------------------------------------------------------------

     

    How can I solve this:

     

    function beforerender(sender, eOpts)
    {
      var me=sender.chart;
        me.refill=function(sprite, config, rendererData, index) {
            return {fillStyle: me.colors[index]}
        };   
        me.series[0].setRenderer(me.refill);
    }

     

    But how to update the legend COLOR  (UniBarSeries1)?

     

     

    image.thumb.png.e73b7b7b14a864d3bad2e80ee7a0abd8.png

  7. OK thanks! STACKED = FALSE 

     

    The function color is WORK

     

    function beforerender(sender, eOpts)
    {
      var me=sender.chart;
        me.refill=function(sprite, config, rendererData, index) {
            return {fillStyle: me.colors[index]}
        };   
        me.series[0].setRenderer(me.refill);
    }

     

    But how to update the legend COLOR?

    And 

    How to remove the stitch (point) ???

     

    image.png.4470848ef9af7f1da8a91711041917ce.png

     

     

×
×
  • Create New...