Jump to content

tony0228

Members
  • Posts

    15
  • Joined

  • Last visited

Posts posted by tony0228

  1.  

    Hi,

     

    You can like this, But here you have to understand that then you can not select menu items ...

     

     

    eh...This could be a bigger problem... :( 

     

    It seems like the effect I want is not to be realized.

     

    是的,菜单是会自动消失了,但它也无法进行选取操作了……两全齐美不容易啊

     

    Thank you very much for your help ! :rolleyes:

  2.  

    Hi Eduardo. 
     
     
    Hide: 
    procedure TMainForm.UniFormCreate(Sender: TObject);
    begin
      UniSession.AddJS(UniScrollBox1.JSName + '.setBodyStyle("overflowY:hidden !important");');
    end;
    
    Show: 
    UniSession.AddJS(UniScrollBox1.JSName + '.setBodyStyle("overflowY:auto");');
    

    Try...

     
    Best regards.

     

     

    in unigui 0.99.50.1185:

    my browser get this error message:

    O209.setBodyStyle is not a function

  3. This must be done on client side using a proper script.

    I know,but, how? please...

     

    I think , it can be writing some script at  a button's client side ExtEvents like these:

     
    Ext.button.Button
    function mousemove(sender, x, y, eOpts)
    {
        Mainform.UniPopupMenu1.popup;
    }
     
    function mouseout(sender, e, eOpts)
    {
       mainform.UniPopupMenu1.close;
    }

     

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

    but don't work...

  4. You don't have to call CloseMenu. Menu is closed when an item is selected.

     

    谢谢您的回复,不过我想得到的是自动弹出和自动隐藏的popupmenu效果。

     

    Thanks for your reply Farshad !

    But what I want is a auto-popup and auto-hide popupmenu, by check out mouse over event.

×
×
  • Create New...