Skip to Content
author's profile photo Former Member
Former Member

Reg: Popup window size

Hi,

Im opening a popup window on click of a button. In the popup im clicking on a link and moving to the next view. The popup window size increases or decreases depending on the view.

But i need the popup window size to remain same for whatever may be the view.

is it possible to fix the size of the popup window to particular value and maintain it.

Help me out with detailed procedure.

Thanks & Regards

Suresh

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jan 31, 2008 at 09:18 AM

    Hi,

    You can set the size using

    IWDWindow window;// = //Your Window Handle

    window.setWindowSize(width, height)

    Regards

    Ayyapparaj

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 31, 2008 at 09:19 AM

    Hi,

    Try this:

    IWDWindow popup = wdComponentAPI.getWindowManager().createModalWindow(<IWDWindowInfo>);
    popup.setWindowSize(width, height);

    Regards,

    Satyajit.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.