locked
Cases Custom Entity Look Up dialog box resize RRS feed

  • Question

  • Hi,

    In my Case Form, I have a link to a custom entity that brings up a Look Up dialog box when I want to insert a value.  Is it possible to resize that dialog box?  I assume this should be the same as any other look up dialog box?  Are there any java script code that I can insert into the form so that I can set a particular size of the pop up dialog box?

    Thanks.

    Steve
    Tuesday, January 19, 2010 4:14 PM

Answers

  • try this onload of form:-

    //#######################
    //Resize Lookup windows
    // Overridden BuildFeatures function
    //#######################
    BuildFeatures = function(lookupStyle)
    {
    var oFeatures = new Object();

    switch (lookupStyle)
    {
    case "multi":
    oFeatures.height = "460px";
    oFeatures.width = "800px";
    break;
    case "single":
    oFeatures.height = "488px";
    oFeatures.width = "800px";
    break;
    case "subject":
    oFeatures.height = "450px";
    oFeatures.width = "500px";
    break;
    default:
    alert(LOCID_LOOKUPSTYLE_NOT_SET + lookupStyle);
    return null;
    }

    return oFeatures;
    }

    //#######################
    //End of Resize Lookup windows
    //#######################


    Regards Faisal
    Tuesday, February 8, 2011 10:49 AM