Jump to content

CITASys Automation

uniGUI Subscriber
  • Posts

    46
  • Joined

  • Last visited

Posts posted by CITASys Automation

  1. I use unitimer ontimer event to start the procedure,

    TMainForm.UniTimer1Timer(Sender: TObject);

    begin

    unilabel1.hide;

    unilabel1.show;

    unilabel1.top:=60;

    unilabel1.left:=60;

    end;

    On unilabel ext event onshow :

    function show(sender, eOpts)
    {
         var el = sender.getEl();
     
        el.setOpacity(0);
        el.setY(el.getY()-20);
        el.fadeIn({
            duration: 800,
            y: el.getY()+20
        });
    }

     

  2. Hello, 

    I found a problem when add an unilabel with client event extevent on show like

    function show(sender, eOpts)
    {
         var el = sender.getEl();
     
        el.setOpacity(0);
        el.setY(el.getY()-20);
        el.fadeIn({
            duration: 800,
            y: el.getY()+20
        });
    }

    It work to add fade in effect with some motion, the problem is "Y" value increase automatically by time.. how to get it fixed?

    please help.. 

×
×
  • Create New...