[CLOSED] How to handle the InfoPanel duration in code behind

  1. #1

    [CLOSED] How to handle the InfoPanel duration in code behind

    Hi, how i can handle the InfoPanel duration in code behind?

    X.Msg.Info(new InfoPanel
            {
                Title = "aa",
                ID = "infopanel",
                AnimCollapseDuration = 500, //???? doesn't take effect
                Alignment =  AnchorPoint.Top,
                WidthSpec = "80%",
                AutoHide = true,
                Html = "<span>AAAA</span> <button style=\"text-align:right\" onclick=\"Ext.getCmp('infopanel').destroy();\">Close</button>"
            }
            ).Show();
    Thanks
    Last edited by Daniil; Dec 19, 2015 at 10:26 AM. Reason: [CLOSED]
  2. #2
    Hi @maurox,

    Please use a HideDelay setting.

Similar Threads

  1. [CLOSED] MessageBox > InfoPanel > Standard Queues example
    By RCN in forum 3.x Legacy Premium Help
    Replies: 1
    Last Post: Feb 20, 2015, 6:38 PM
  2. [CLOSED] InfoPanel using QueueName not working
    By exe in forum 2.x Legacy Premium Help
    Replies: 3
    Last Post: Nov 26, 2014, 3:26 PM
  3. [CLOSED] Align InfoPanel to element on server side?
    By rthiney in forum 2.x Legacy Premium Help
    Replies: 3
    Last Post: Jul 03, 2014, 1:12 PM
  4. [CLOSED] button handle assign code behind does not work
    By jstifel in forum 2.x Legacy Premium Help
    Replies: 6
    Last Post: Oct 07, 2013, 5:51 AM
  5. Replies: 4
    Last Post: May 15, 2013, 4:22 AM

Posting Permissions