Jump to content

mhmda

uniGUI Subscriber
  • Posts

    1141
  • Joined

  • Last visited

  • Days Won

    157

Posts posted by mhmda

  1. Convert the font for web by using online site (there is many online tools for that)

    and then import it using css in server module and do not forget to modify the server for mime type (.eot,.woff...)

  2. Hello all,

     

    This is a teaser for a desktop like web app that we currently working on, with these features:

     

    •  Dynamically Add/Remove shortcuts on desktop
    •  Auto Arrange
    •  Manually arrange
    •  Using victor image .svg
    •  shortcut with Multiple sizes
    •  Shortcut may run (form) once OR multiple
    •  Taskbar buttons with victor icons and button linked to it's (form)
    •   All happen in client-side for better performance except creating the shortcut (server side)
    •  more will come....

     

    https://www.youtube.com/watch?v=MhmZXI8rtTQ

     

    Update 1: 

    Update 2:

     

     

    startmenu.png

    • Upvote 12
  3. For example when adding: 'show' event it is translated like this:

     

    I use this code:

    shrcut.ClientEvents.ExtEvents.Values['show']:='function (sender, eOpts){ Ext.defer(function(){console.log(9);},3000);}';
    shrcut.ClientEvents.UniEvents.Values['beforeInit']:='function (sender, config){console.log(1);}';
    
    "show",function(sender, eOpts){ Ext.defer(function(){console.log(9);},3000);})//instead of ',' it should be ':'
    

    it should be "show":function....

     

     

    UniEvents works great:

    beforeinit:function(sender, config){console.log(1);}
    

    The problem only with ExtEvents !!!

  4. procedure TMainForm.UniButton1Click(Sender: TObject);
    var
     s:TUniBitBtn;
    begin
     s:=TuniBitBtn.Create(pnlStatus);
     s.Parent:=pnlStatus;
     s.Width:=120;
     s.LayoutConfig.Height:='100%';
     s.ClientEvents.UniEvents.Values['beforeInit']:='function (sender, config){config.icon="files/images/3.png";}';
    end;
    

    In chrome debugger the events are ignored !!!!!!! why????

     O3C=new Ext.button.Button({id:"O3C_id",height:"100%",scale:"medium",width:120});O3C.nm="O3C";_cdo_("O3C_C",O3C,null,MainForm);O25.add(O3C);
    
×
×
  • Create New...