Jump to content

easegura777

uniGUI Subscriber
  • Posts

    102
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by easegura777

  1. On 12/16/2016 at 3:31 AM, Sherzod said:

    Maybe like this?!:

    
    function tabPanel.beforeInit(sender, config)
    {
        config.plugins = [Ext.create('Ext.ux.TabReorderer', {
            listeners: {
                Drop: function(tabpanel, container, dragCmp, startidx, idx, eOpts) {
                    ajaxRequest(sender, '_tabOrderChange', ['startidx='+startidx, 'idx='+idx]);
                }
            }
        })];
    }
    
    procedure TMainForm.UniPageControl1AjaxEvent(Sender: TComponent;
      EventName: string; Params: TUniStrings);
    begin
      if EventName = '_tabOrderChange' then
      begin
        ShowMessage(Params.Values['startidx'] + ';' + Params.Values['idx']);
      end;  
    end;

    In the V1.90.0.1547 not show beforeinit

    image.png.889361671ffd2c376fc0fcdbbc381980.png

     

     

  2.  

     

    I have the following code and it works correctly in UnimHTMLFrame, now I would like to execute the function from the click event of a button to pass it a parameter 

     

     <input type="button" value="Say hello" onClick="showAndroidToast('Hello Android!')" />

        <script type="text/javascript">
            function showAndroidToast(toast) {
                Android.showToast(toast);
            }
        </script>
        
     

     

  3. On 4/9/2020 at 1:53 AM, Sherzod said:

    For example without the "hover" effect:

    
    function reconfigure(sender, store, columns, oldStore, oldColumns, eOpts) 
    {
        var widgetColIndx = 1;
        columns[widgetColIndx].onWidgetAttach = function(column, widget, record) {
            widget.setStyle('border-color', 'green');
            widget.setStyle('background-image', 'linear-gradient(lime, green)');
        };
    }

     

    Hi, in TuniDBEdit  where do i add this code, the funcion reconfigure, it´s not in ClientEvents -> ExtEvents 

  4. On 10/21/2019 at 8:00 PM, Sherzod said:

    Hi,

    1. CustomCSS:

    
    .customGlyph .x-icon-el {
       width: 64px;
       height: 64px;
    }

    2. UnimBitBtn1.LayoutConfig.Cls = customGlyph

    Hi, 

    I used uniGUI - v1.90.0.1534 , component TUnimButton, 

     

    I applied the code but it did not work, is displayed 16X16, i need 56x56

    Please, helpme!!

     

  5. 13 hours ago, Hayri ASLAN said:

    Hi,

    You can't change the trigger class after rendered.

    Please add 2 triggers to the edit. Set both visible:=True;

    On ready of form hide one of them:

    
    
      with UniEdit1, JSInterface do
      begin
        JSCall('triggers.t2.hide');
      end;

    And if you want to show the other one when you click to button use :

    
    with UniEdit1, JSInterface do
      begin
        JSCall('triggers.t1.hide');
        JSCall('triggers.t2.show');
      end;

    Show this message, use the component TunimEdit

    image.png.3316f50b12331bbd97665cacf36f2963.png

×
×
  • Create New...