How to Minimize a  popup window?

We are using title window as a pop-up.
The title window has a property called closeButton which when
set to true displays a close button on the top right hand corner of
the title window.
Likewise, We also need minimizeButton property which can
minimise the window.
Is there any such component like title window which has this
property of minimise this window or any other workaround.
Text

Hello,
U can use script in ur page to open the Popup window.
window.open("yourpage.do", window_name, 'toolbar=0,scrollbars=0,location=0,status=yes,menubar=0,resizable=0,width=600,height=400,left = 225,top = 140');
Bye

Similar Messages

  • How to create a popup window to load HTML page in AIR application without using any mx or spark?

    How to create a popup window to load HTML page in AIR application without using any mx or spark components?
    I need to load the HTML page in popup in AIR application without using any of the <mx> or <spark> components. I need to open in the application itself not in the browser.(If we use navigateToURL() it will open in th browser)

    Can we achieve this? can somebody help me on this scenario..

  • How to close a popup window for system events?

    Hi,
    I have a screen 110 which shows several input field in popup mode.
    The Cancel button can close the screen.
    But my question is how to close the popup window for the following system events?
    1, Customer clicks the cross button in top-right corner
    2, Customer clicks the system icon in top-left corner and then select either: "Close" or "Stop Session"
    The PAI subroutine of the screen has not been triggered for the above system events.
    Thanks for the coming help.
    Best Regards,
    David

    Hi Siddharth,
    I did check with another very experienced ABAP developer.
    The solution was the same as what Arunima Rudra provided.
    And I got a sample program which did work properly.
    The headache is that the system events in my program still cannot be triggered even after I have all the same changes.
    Anyway, I suggest you to try the solution as provided by Arunima Rudra.
    It should work for 2 system events:
    1, Customer clicks the cross button in top-right corner
    2, Customer clicks the system icon in top-left corner and then select either: "Close"
    For "Stop Session", it should not be handled by popup.
    You can observe the same behavior in ALV sorting configuration popup.
    Good luck!
    Regards,
    David

  • How to create a popup window that shows detail information when press submi

    hi,all
    how to create a popup window that shows detail information when press the submit button ?I mean,when I press the button "Sumit"there will appear a popup window that shows the detail information you typed before.it means are u sure to submit,it is like some confirmation window.
    how to do achieve this ?help plz .
    best regards
    hlee
    Edited by: hlee on 2011-4-15 上午1:26

    hey,vee
    thanks for your response,but i had already read this thread before i put up a new question.any way,thanks.
    best regards
    hlee

  • How to display a popup window (DialogMessage) via code behind c#?

    hi all,
    How to display a popup window (DialogMessage) via code behind c#?
    I use sp 2013, in else case I want show the DialogMessage:
    if(condition)
    else
      HttpContext.Current.Response.Redirect(SPContext.Current.Web.Url+"/_layouts/TestError/ErrorDueDate.aspx");
    the above Redirect work good but I want show the error in a DialogMessage its better because of Usability and not redirect the user to new page...
    if not via code behind is there a better way to do it?
    thanks in advance
    Ahmad
    SP 2013 & SPD 2013 & VS 2013 & MSSQL 2012

    thanks for you answer,
    And yes I includ them via CDN, like below:
    <script
    type="text/javascript"
    src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
    <script
    src="http://ajax.aspnetcdn.com/ajax/jquery.ui/1.8.9/jquery-ui.js"
    type="text/javascript"></script>
    <link
    href="http://ajax.aspnetcdn.com/ajax/jquery.ui/1.8.9/themes/start/jquery-ui.css"
    rel="stylesheet" type="text/css"
    />
    But I get still the above error in my previes post.
    SP 2013 & SPD 2013 & VS 2013 & MSSQL 2012

  • How can I allow popup window within secured site?

    How can I allow popup window wlthin NWA People.com(secured site)?
    Ineed to see Access.

    You can allow pop-ups in Safari via Settings > Safari > Block Pop-Ups set 'off'

  • How to get current PopUp Window

    Dear All,
    I am using NetWeaver 7.1 sp1 and facing a problem. Actually I want to show a view in popup window. The popup window works fine but i want to get currently popup window. How can i get it in View and controller ??
    I found a solution : wdContext.currentPopupElement().getWindowInstacnce();
    but in wdContext there is no method like .currentPopupElement(). plz help.

    Hi
    wdContext.currentPopupElement().getWindowInstacnce();
      Here PopupElement is a attribute of IWDWindow type where u have to put the window instances (say For close or life control of that popup)
    For further plz go through these doc
    1. [Dialog|http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/903fed0d-7be4-2a10-cd96-9136707374e1&overridelayout=true]
    2. [Popup Window|http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/a04870c5-749b-2b10-06ba-d25515ef39e3&overridelayout=true]
    Best Regards
    Satish Kumar

  • How to create a  popup windows

    Hi
    I have seen in Simon Collins application http://apex.oracle.com/pls/apex/f?p=20411:1:888811517916461 a popup windows.
    Can anyone help me, buil a popup windows like that or is there any tutorial where i can see how its done.
    Tanks

    Hi,
    You should have three processes: addPerson, getPerson and updatePerson. All three are "On Demand" processes. This is the PL/SQL code for each:
    addPerson
    BEGIN
    INSERT INTO EMP (ENAME, JOB, MGR, HIREDATE, SAL, COMM)
    VALUES (:P1_ENAME, :P1_JOB, :P1_MGR, TO_DATE(:P1_HIREDATE, 'DD/MM/YYYY'), :P1_SAL, :P1_COMM);
    END;getPerson
    DECLARE
    vRESULT VARCHAR2(1000);
    BEGIN
    SELECT ENAME || ',' || JOB || ',' || MGR || ',' || TO_CHAR(HIREDATE, 'DD/MM/YYYY') || ',' || SAL || ',' || COMM
    INTO vRESULT
    FROM EMP
    WHERE EMPNO = :P1_EMPNO;
    HTP.P(vRESULT);
    END;updatePerson
    BEGIN
    UPDATE EMP
    SET ENAME = :P1_ENAME,
    JOB = :P1_JOB,
    MGR = :P1_MGR,
    HIREDATE = TO_DATE(:P1_HIREDATE, 'DD/MM/YYYY'),
    SAL = :P1_SAL,
    COMM = :P1_COMM
    WHERE EMPNO = :P1_EMPNO;
    END;On the page, in the page's HTML Header setting, I have:
    &lt;script type="text/javascript"&gt;
    $(function() {
       $('#ModalForm').dialog(
        modal : true,
        autoOpen : false,
        buttons  : {
          Cancel : function() {
            closeForm();
          Add : function() {
            $('#ModalForm input[type="text"]').removeClass('ui-state-error');
             var valid = true;
            $('#ModalForm input[type="text"]').each(function() {
              if($(this).val().length == 0)
                $(this).addClass('ui-state-error');
                message = 'Error: ' + $(this).attr('id').substr(3).replace('_', ' ') + ' is blank';
                $('.msg').text(message);
                valid = false;
                return false;
            if(valid)
               addPerson();
    function openForm(pID)
       $('#ModalForm').dialog('open');
       $('#ModalForm input[type="text"]').removeClass('ui-state-error');
       var btns = {};
       btns['Cancel'] = function() { closeForm() };
       $s('P1_ENAME','');
       $s('P1_JOB','');
       $s('P1_MGR','');
       $s('P1_HIREDATE','');
       $s('P1_SAL','');
       $s('P1_COMM','');
       if(pID)
          initilizeForm(pID);
          $('#ModalForm').dialog({ title : 'Update'});
          btns['Save Changes'] = function(){updatePerson(pID);};
       else
          $('#ModalForm').dialog({ title : 'Add'});
          btns['Add'] = function(){addPerson();};
       $('#ModalForm').dialog('option', 'buttons', btns);
    function closeForm()
      $('#ModalForm input[type="text"]').val('');
      $('#ModalForm input[type="text"]').removeClass('ui-state-error');
      $('#ModalForm').dialog('close');
    function initilizeForm(pID)
       var ajaxRequest = new htmldb_Get(null, &APP_ID., 'APPLICATION_PROCESS=getPerson', 0);
       ajaxRequest.add('P1_EMPNO', pID);
       var ajaxResult = ajaxRequest.get().split(',');
       $s('P1_ENAME', ajaxResult[0]);
       $s('P1_JOB', ajaxResult[1]);
       $s('P1_MGR', ajaxResult[2]);
       $s('P1_HIREDATE', ajaxResult[3]);
       $s('P1_SAL', ajaxResult[4]);
       $s('P1_COMM', ajaxResult[5]);
    function addPerson(pID)
       if (pID)
         updatePerson(pID);
       else
         var ajaxRequest = new htmldb_Get(null, &APP_ID., 'APPLICATION_PROCESS=addPerson', 0);
         ajaxRequest.add('P1_ENAME', $v('P1_ENAME'));
         ajaxRequest.add('P1_JOB', $v('P1_JOB'));
         ajaxRequest.add('P1_MGR', $v('P1_MGR'));
         ajaxRequest.add('P1_HIREDATE', $v('P1_HIREDATE'));
         ajaxRequest.add('P1_SAL', $v('P1_SAL'));
         ajaxRequest.add('P1_COMM', $v('P1_COMM'));
         ajaxRequest.get();
         ajaxRequest = null;
         closeForm();
         gReport.search('SEARCH');
    function updatePerson(pID)
       if(!valid())
          return;
       var ajaxRequest = new htmldb_Get(null, &APP_ID., 'APPLICATION_PROCESS=updatePerson', 0);
       ajaxRequest.add('P1_EMPNO', $v('P1_EMPNO'));
       ajaxRequest.add('P1_ENAME', $v('P1_ENAME'));
       ajaxRequest.add('P1_JOB', $v('P1_JOB'));
       ajaxRequest.add('P1_MGR', $v('P1_MGR'));
       ajaxRequest.add('P1_HIREDATE', $v('P1_HIREDATE'));
       ajaxRequest.add('P1_SAL', $v('P1_SAL'));
       ajaxRequest.add('P1_COMM', $v('P1_COMM'));
       ajaxRequest.get();
       ajaxRequest = null;
       closeForm();
       gReport.search('SEARCH');
    function valid()
       $('#ModalForm input[type="text"]').removeClass('ui-state-error');
       var valid = true;
       $('#ModalForm input[type="text"]').each( function() {
           if( $(this).val().length == 0)
               $(this).addClass('ui-state-error');
               message = 'Error: ' + $(this).attr('id').substr(3).replace('_', ' ') + ' is blank';
               $('.msg').text( message );
               valid = false;
               return false;
       return valid;
    &lt;/script&gt;And I have an HTML region on the page with the following settings:
    Region Header:
    &lt;div id="ModalForm" style="display:none; width:500px;"&gt;Region Footer:
    &lt;/div&gt;This region contains all of the page items - P1_EMPNO (hidden), P1_ENAME (text), P1_JOB (text), P1_MGR (select list), P1_HIREDATE (datepicker), P1_SAL (text) and P1_COMM (text)
    Apart from a bit of styling here and there, that's it
    Andy

  • How to maximize a popup window?

    Hi,
    My issue:
    A popup contains data larger that the screen size, it therefore maximizes itself, meaning that it sets its WIDTH to 100%. But this is most unfortunate as WD does not recognise its own scrollbar as the end of the available screen and now the close button (cross) of the popup is beneath the scrollbar!
    When doing a "true" maximize by clicking on the button left to the "closing cross", it recognizes scrollbars and stays visible in total.
    My question:
    How can I programmatically access the maximize/fullscreen function? Interface IF_WD_WINDOW does not provide a corresponding method as far as I can see...
    Already tried:
    ...please no "put width and height to 100%" as I already stated that this is not what I want...
    Also setting width to 95% or the likes does not work, as the popup automatically sets 100% on refresh if there are to large contents.
    <br>
    I would appreciate your help on this!!
    Kind Regards,
    Robert

    Hi Robert,
    You can do any size related actions in POPUP, Actually we have SET_WINDOW_SIZE Method to set window size,
    But for popups it wont work.
    Please check this thread, check Thomos reply
    Re: Confirm Popup in Web Dynpro, window size
    Check using set_window_size.. but can't effect.
    How to reduce Popup Window Size?
    As suggested saravanan, check SAP NOTE also.
    Cheers,
    Kris.

  • How to generate a popup window?

    i want to click on a link...in response of this a popup window opens and show the details...help me regarding this...

    can u please explain me in bit detail.I can try...
    About Popup
    A Popup is displaying a Component somewhere on (or outside) the screen. When you create a new Popup object you specify the coordinates of the Popup relative to another Component (this other Component could be null)
    How to use it
    You should create your own subclass of javax.swing.Popup to use a Popup, because the constructors are Protected. I have an example for you. Also have a look at the API or some of the links other people have listed.
    Example
    import java.awt.*;
    import javax.swing.*;
    import java.awt.event.*;
    import java.awt.event.*;
    public class PopupEx extends JFrame{
         private javax.swing.Popup pop; 
         private JLabel lab = new JLabel("text");      
         public static void main(String args[]){
              PopupEx f = new PopupEx();
         public PopupEx(){
              //setting the JLabel and placing it in the JFrame
              lab.setBackground(Color.red);
              lab.setOpaque(true);
              lab.setFont(new Font("Curier",Font.PLAIN,200));
              add(lab);
              pack(); //setting the size of the JFrame
              //popup
              pop = new Poppy(this, new JPanel(), 10, this.getWidth()/2) ;           
              pop.show(); //makes the Poppy show at the position (10, this.getWidth()/2) - relative to this
              setDefaultCloseOperation(EXIT_ON_CLOSE);
              setVisible(true);
         public class Poppy extends Popup implements ActionListener{
              private JPanel pan;
              private JLabel mess = new JLabel("I love Java!");
              private JButton b   = new JButton("ok");
              //Constructor
              //Overrides the Popup(Component owner,Component contents,int x,int y)               
              public Poppy(Component owner, JPanel contents, int x, int y){
                   super(owner,contents,x,y);
                   pan = contents;
                   pan.setBackground(Color.yellow);
                   mess.setFont(new Font("Curier",Font.PLAIN,20));
                   pan.add(mess);
                   pan.add(b);
                   b.addActionListener(this);
              public void actionPerformed(ActionEvent e){
                   this.hide();
         }//end of Poppy
    }If you have questions, just ask!

  • How to add a popup window

    I have a find button in my panel, on click of that button i shld invoke the popup window, to recive the search option.
    Can someone tell me that how to invoke/create a popup window in java swings.
    Thanks in Advance.

    Dheeraj_Gaba wrote:
    You are wrong :)how come?Sorry, that reply was for the OP.

  • How to close a popup window in a used component?

    Hi Experts,
    I have two applications in the same project, and they each have one component controller. Let they be component A and B. They have similar functionalities and screens. There is a popup window in A that I would like to use in B instead of creating a new popup window in B, so I added a used component of A in B in order to share the popup window. I am able to click a button in B to get a popup window from A successfully, but I am unable to close the popup window since the event has been created in A.
    Can anyone suggest me how to fix this please? I would really appreciate your help.
    Thanks,
    -Napadol

    Hi,
    You can either use the approach above, which is having an Attribute, type IWDWindow in B's Component Context. When you open the popup you store the reference. When you click close you get that reference back and destroy the window.
    Note, I'd suggest you to have your "View" with no Close Button. Then in Component A you create another View that has an UIViewContainer with your Popup View. You can code the Close code in Component A.
    This way you can do the same and have a code in Component B to close your window.
    Other way would be having it as a Component variable and using the Component Interface on A (create a Method) that goes to Component A and destroy that instance.
    Regards,
    Daniel

  • How to call a popup window when click save button

    Hi, expert
    the scenario is :
    we we create a order , we click the 'save' button,
    then there will show a popup window,
    in the window, there are buttons like 'confirm' , 'cancel' and also show some info about the order.
    how can i do that.
    Thanks
    Oliver.

    Hi ,
    Try to redefine the method and use the IV_TEXT parameter in the CREATE_POPUP_2_CONFIRM method (usaully comes from the Component Controller ).
    Regards
    Vikranth

  • How to eliminate this popup window

    Out of a sudden, when I open iPhoto I'm getting a window that says that there is a problem importing something, which I'm not trying to import.
    Attached is an image of the desktop showing the popup window.
    How can I get rid of it.
    Regards
    Pedro

    Back up.
    Go to your Pictures Folder and find the iPhoto Library there. Right (or Control-) Click on the icon and select 'Show Package Contents'. A finder window will open with the Library exposed.
    Look there for a Folder called 'Import' or 'Importing'.
    Drag it to the Desktop. *Make no other changes*.
    Start iPhoto. Does that help?
    If it does then look inside that folder on your desktop. Does it contain anything you want? If not you can trash the folder.

  • In a multiple monitor situation, how do I get popup windows to open on the same monitor as the parent application is displayed.

    I have two monitors. I have an application that I run all day, displayed on my secondary monitor. Whenever a popup windows is launched form that application, it always opens on the primary monitor. Very annoying. Any way to get the popup to launch in on the same monitor as the parent application?

    Did you solve this problem ?

Maybe you are looking for

  • My ipod nano's power button is stuck?! What should I do?1

    I got my ipod nano 6th generation for christmas. It's been working fine the past months I had it but then suddenly this morning, I found the power button stuck! :/ What should I do?!?!?!

  • Excel download into a sheet-2by taking formula from another sheet.-1

    i hv an internal table itab.which contain 3 fields a,b,c. a,b are input parameters (int).c = ab.Now i hv to download the values of a,b,c into a excel sheet-2 by <b>taking the formula</b>(c = ab) <b>from another sheet-1</b>.and everytime the new vales

  • Ipad Air 2 die ?

    What a shame for Apple !!! I am totally disappointed. My Ipad Air 2 was used until 11.30 p.m. last night and the battery level was about 50%. But this morning I can not turn it on. I have tried to charge it but there is no positive signal. I have jus

  • Exporting data to Excel file

    I am curious what the "best practice" is for exporting data programmaticly from SQL Server to Excel.  Is it best to do it straight from SQL Server, or should I do it with in my C# code?  My program is going to pull the data, put in the excel file, th

  • Please help me Identify this hardware

    Hi Guys Ive gotten hold of a Cluster of 40 nodes, all have Ultrasparc IIE cpu's I don;t have it with me yet, but as they have no monitor ports etc, I need to figure out how to install and set it up, for instance does it support PXE booting etc, does