How to leave the current dialog box screen?

Hi Experts,
Now I met a problem when I use statement LEAVE SCREEN for closing current dialog box screen. The scenario is like this:
There is a screen '0010' under function group A, on this screen, there are 4 tabs, i created a custom control element on tab 4. with this custom control I embeded a subscreen 0910 which is defined under function group B not A, in the PAI of subscreen 0910, i called another dialog box screen 0920 which is defined under function group B also. statement CALL SCREEN '0920' is used for this and it works fine.              
                But now when i click on the X (cancel) button on the dialog box, it is not closed but still there. So i use statement 'LEAVE SCREEN TO 0910' for closing the dialog box, but finally, not only the dialog box screen is closed but the screens '0910', '0010' are also closed.
I think the problem is because that screen '0010' and  '0910' , '0920' are not under same function group, but I don't know the solution for closing the dialog box only.
Lynn Liu

HI,
Debug the program after you press the CANCEL button , you will get where the conrol is flowing , And instead of using
Leave to screen '910'          use               Leave to screen 0.
Regards,
Madhukar Shetty

Similar Messages

  • How to dispose the modal dialog box

    hi all
    can any one please tell me how to supress the modal dialog box.
    Means iam triggering the a new pop up (modal dialog box) after this
    when iam click ok or cancel buttons on this modal dialog box it is not returing to
    the screen from where it is tiggering. Can any one tell how to achieve this.
    what r the statements i have to write for this in the PAI.

    HI,
    in PAI u have to write like..
    CASE OK_CODE.
    WHEN 'OK'.
    UR CODE.........
    WHEN 'CANC'.
       SET SCREEN 0.
       LEAVE SCREEN.
    OR
       LEAVE TO SCREEN XXX. " UR CALLING SCREEN NUMBER
    ENDCASE.
    Pls close the thread if the problem is solved and reward to all helpful answers.
    Regards
    SAB

  • How to avoid the windows "dialog box" when we use flexprintjob class

    in the print segment
    http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c0bf65381-7ffc.html
    it says
       printJob.start();
    This causes the operating system to display a Print dialog box.
    this  windows "dialog box" which is used to set the page size, page index, or some other page settings.
    but in my case , i can't let user see this dialog box.
        how can i avoid this "dialog box" when i call   printJob.start();
    it is my big issue ,please help to give a suggestion

      hi   how can i set the "ie" "internet explorer"  to avoid the "dialog box."  if i have to do it .
    thank you very much !

  • How to suppress the Print Dialog Box?

    Running an (ASP.NET /Crystal Reports 2008) application and using CrystalReportViewer control. Is there way to suppress the print dialog box when I click the print icon on the report tool bar?
    Edited by: juRamz on Aug 26, 2009 2:54 PM

    Hello,
    Sort of, CR needs the info. Only option is to create your own print button that has all the info filled in. It's a Windows Framework Common dialog box that CR calls so it's the OS that is prompting for the info.
    Using ReportClientDoc here's a possible solution, note that this too has a dialog box to select the printer:
    private void button1_Click(object sender, System.EventArgs e) // Print To Printer button
        System.Drawing.Printing.PrintDocument pDoc = new System.Drawing.Printing.PrintDocument();               
        PrintReportOptions rasPROpts = new CrystalDecisions.ReportAppServer.Controllers.PrintReportOptionsClass();
        CrystalDecisions.ReportAppServer.ReportDefModel.PrintOptions newOpts = new PrintOptionsClass();
        //CrystalDecisions.CrystalReports.Engine.PrintOptions newOpts = new PrintOptionsClass();
        pDoc.PrinterSettings.PrinterName = cboCurrentPrinters.Text;
        rasPROpts.PrinterName = cboCurrentPrinters.Text;
        rasPROpts.PaperSize = (CrPaperSizeEnum)
            pDoc.PrinterSettings.PaperSizes[cboCurrentPaperSizes.SelectedIndex].Kind;
        rasPROpts.PaperSource = (CrPaperSourceEnum)
            pDoc.PrinterSettings.PaperSources[cboDefaultPaperTrays.SelectedIndex].Kind;
        // new API added to allow changing printing options
        newOpts = new CrystalDecisions.ReportAppServer.ReportDefModel.PrintOptions();
        newOpts.DissociatePageSizeAndPrinterPaperSize = true;
        rptClientDoc.PrintOutputController.ModifyPageMargins(0, 0, 0, 0);
        rptClientDoc.PrintOutputController.PrintReport(rasPROpts);
        MessageBox.Show("Printing report.", "RAS", MessageBoxButtons.OK,MessageBoxIcon.Information );
    Thank you
    Don

  • How to hide the warning Dialog box in illustrator?

    I need to open the pdf file in 'illustrator cs3' through visual basic coding and then save it as eps. But if i open the pdf file in illustrator some times 'warning dialog box' opened due to the font missing. I need to hide that warning dialog box while opening. Kindly help me.
    Thanks,
    Prabudass

    Thanks for your answer, Mark...
    I found out that the actual JS-Script code has to be...      :
    app.userInteractionLevel = UserInteractionLevel.DONTDISPLAYALERTS;

  • How to get the current size of screen in developer/2000 2.1?

    sir:
    I want to design the program that can be suitable for the
    various sizes of screen ,for example 640*480,600*800,At the same
    time ,According to the size,I can change the size of form ,
    how can I do that?
    null

    maximize the MDI window by
    set_window_property(forms_mdi_window,window_state,maximize);
    then get the size of MDI window which is the size of screen.
    by get_window_property;
    gang lee (guest) wrote:
    : sir:
    : I want to design the program that can be suitable for the
    : various sizes of screen ,for example 640*480,600*800,At the
    same
    : time ,According to the size,I can change the size of form ,
    : how can I do that?
    null

  • How to know the current resolution of screen?

    Help me please

    Actually, that's misleading. It's Toolkit.getDefaultToolkit().getScreenSize(). That gets the X x Y pixel count of the screen. Toolkit.getDefaultToolkit().getScreenResolution() gives the DPI of a screen (supposedly).

  • In dialog programming i want to leave the current transaction

    Hi,
    In dialog programming i want to leave the current transaction and come out to the standard   sap initial screen.
    Please advise me how can i apply.
    Thanks.

    Basic question, please search before posting.
    Thread locked.
    Thomas

  • PUT BACK THE MISSING THE SCREEN FUNCTION IN THE PRINT DIALOG BOX!!!!

    Hello all...
    I am a creative director in the screen print (garment industry) for over 20 years.  We have always used PS to directly print and control our halftone screens and angles through the screen function in the print dialog box.  Now it has miraculously disappeared after so many versions previous.
    I emplore Adobe and their team to please update this function back into CS5.
    Although it is a function many might not even understand how to use, it is IMPERATIVE to the screen printer/artist in this industry.
    There are workarounds, of course, but they are much more tedious and time consuming.
    I truly cannot convince enough that we folks in this industry want this function back!!!!!

    You might want to also post in these Fora:
    Photoshop Feature Requests
    http://feedback.photoshop.com/photoshop_family/products/photoshop_family_photoshop

  • Current View option in  the Print dialog box

    I have a PDF file, approximately 55 pages that is comrpised of 50+ .jpg images that were combined into a single PDF file. The images are various size screenshots from Facebook.
    I need to be able to print the entire file at 75% magnification in order for every page to be readable.  Only way in Adobe’s print dialog box that I can find to do so is select one page at a time, select “Current View” and then print. 
    When "All" is selected under Print Range in the Print Dialog box, the pages print at different magnifications, most below 10% and unreadable.
    Is there a way to get the entire document to print in the “Current View” setting or at a specified magnification?
    I’m using Adobe Acrobat 9 Pro.
    Any help would be greatly appreciated.
    Thanks

    duh...
    Figured out I had to tweak it in the "copies and Pages"

  • Using bootcamp was installing windows xp, at the select ntfs or fat format selected "leave the current file system intact." How can that be changed to a correct choice. Mac side opens correctly. Windows shows disk error.

    using bootcamp, was installing windows xp, at the select ntfs or fat format mistakenly selected "leave the current file system intact." How can that be changed to a correct choice. Mac side opens correctly. Windows shows disk error. and doesn't respond to press any key. When looking in the startup disk section, windows on boot camp can be seen, but not selected. (13"MacBook Pro  10.6.8)

    Have a read here http://support.apple.com/kb/TS1722 for solution.
    Stefan

  • HT3669 Since I starting using my MacMini (2011 version) I have not been able to print double sided from my HP Photosmart plus - there is no option for this in the Printer dialog box as there was in the similar dialog box on my PC. How do I set up this opt

    Since I starting using my MacMini (2011 version) I have not been able to print double sided from my HP Photosmart plus - there is no option for this in the Printer dialog box as there was in the similar dialog box on my PC. How do I set up this option?

    1. You did not get an error message telling you that your iPhoto library was getting full. You got a message telling you that your HD was getting full, right?
    OS X needs about 10 gigs of hard drive space for normal OS operations - things like virtual memory, temporary files and so on.
    Without this space your Mac will slow down as the OS hunts for space on the disk, files will be fragmented, also slowing things down, apps will crash and the risk of data corruption - that is damage to your files, photos, music - increases exponentially.
    Your first priority is to make more space on that HD. Nothing else can be done until you do.
    Purchase an external HD and move your Photos and Music to it. Both iPhoto and iTunes can run perfectly well with the Library on an external disk.
    Your Library has been damaged from being run on an overfull disk.
    How much free space on it now?

  • After the latest two updates, whenever Firefox starts, the print dialog box appears automatically. Why, and how do I stop this?

    Not much else to add. The print dialog box just opens every time Firefox is started or restarted.

    Check the Home page setting:
    *https://support.mozilla.com/kb/How+to+set+the+home+page
    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.com/kb/Safe+Mode

  • How to modify the "To Print" Steps in the Print the Report Dialog box

    From the Crystal Reports Viewer Toolbar, when selecting the Print option,
    a 'Print the Report' Dialog box opens. Is it possible to modify the 'To Print' steps?
    We tried modifying  (commenting-out the To Print steps) in strings_en.js and export.js, but
    when running, the changes do not show up.
    We are using Crystal Reports for Visual Studio 2008, Crystal Reports Viewer Version=10.5.3700.0
    Thank you.

    A warning 1st. Modifying the export.js file is not supported and may lead to all kinds of issues. Also, as soon as somebody else installs an app on that machine, the js files will get overwritten and thus removing your changes.
    Second, I do not think the print dialog is defined in a JS file. In CR 10 I think we built our own print dialog and there is no control over it (e.g.; no exposed APIs).
    I think your best bet will be to create a printer dialog as per your requirements and  launch it from your our own print button.
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup

  • How do I get a dialog box to reappear?

    I'm trying to write an application where
    1. There is an opening frame. The user can click a 'start' button which
    opens the first of a series of dialog boxes.
    2 Each of these dialog boxes has a user input field and buttons 'next' 'back' and 'cancel' , to step forward/backward through user input , or to cancel & return to the opening frame.
    3. As each dialog box opens up , the preceeding one should be hid.
    4. If the user clicks 'back' , the current box should close and the
    preceeding one should reopen.
    Straightforward enough and I've got this working at the start of the progam
    for the transition between the opening frame and the first dialog box, by
    doing this:
    in the opening frame...
    //start button..
    this.setVisible(false);
    Dialog001 d001 = new Dialog001(this,"",true);
    d001.setVisible(true);;
    and in the code in the dialog box d001, for the '<< back' button..
    void button1_actionPerformed(ActionEvent e) {
    dispose();
    super.getOwner().setVisible(true);
    *********** so far so good : everything works OK **************
    The problem is when I repeat this in the second dialog box , the
    first dialog box doesn't reappear.
    I have looked in the books and tries various things, but no good
    so far
    How do I get the previous dialog box to reappear?
    Also, how will the 'cancel' button work in the second (and subsequent)
    dialog boxes (instead of the preceeding dialog box reappearing, the
    original opening frame should reappear) ?
    Thanks in advance
    Mike
    [the jdk is 1.2.2 , OS is win98, IDE is jbuilder ver 3]

    How is this: (you can change it from Swing to AWT.)
    setVisible(false);
    int index = 0;     
    Vector v  = new Vector();
    dialog d;
    while (index != -1)
         if (index == v.size())
               v.add(new dialog(this,index));
              d = (dialog)v.get(index);
         else
              d = (dialog)v.get(index);
                  d.setVisible(true);     
         index = d.ret;
         setVisible(true);
    public class dialog extends JDialog
         JButton next = new JButton("next");
         JButton back = new JButton("back");
         JButton canc = new JButton("cancel");
         int     me;
         int     ret;
    public dialog(JFrame f,int i)
         super(f,""+i,true);
         me = i;
         getContentPane().setLayout(new GridLayout(4,0));     
         getContentPane().add(next); 
         getContentPane().add(back);
         getContentPane().add(canc);
         next.addActionListener(new ActionListener()
         {     public void actionPerformed( ActionEvent e )
              {     ret = me+1;      
                   setVisible(false);     
         back.addActionListener(new ActionListener()
         {     public void actionPerformed( ActionEvent e )
              {     ret = me-1;
                   setVisible(false);          
         canc.addActionListener(new ActionListener()
         {     public void actionPerformed( ActionEvent e )
              {     ret = -1;
                   setVisible(false);          
         getContentPane().add(new TextField("abced"));
         setBounds(100,100,100,150);
         setVisible(true);

Maybe you are looking for

  • Server status problem in syclo wm 6 on SMP 2.3.3 PL01

    Hi, I am trying run Syclo Work Manager 6.0 on SMP 2.3.3 PL01. Well i created and Agentry application and deployed work manager 6.0 app seems okay. At first the application status was "running need restart" after i restart the instance it remained as

  • What's new in 7.1.0.714 (Bundle 2039)

    what is new in new 7.1.0.714 (Bundle 2039) for 9360 curve  Thanks for help  

  • My battery drains from 22% to 0 then it get off

    Dears, my battery drains from 22% suddenly to 6% and then the phone switched off

  • 20"/24" iMac hang at desktop?

    We have three 24" iMacs here at work, and one 20". The 20" and two of the 24" iMac's have hung at boot up, all at the same place. As soon as the desktop starts to load, the Spotlight magnifying glass comes up then the machine sits there and stops boo

  • Add "service in the backgound" to WD SmartWare

    Please add on WD Smart Ware an option to use the programm for an continously syncronisation between Computer and Storage. Currently in my point of view there is only the option to start the program manually. Would be great to have an option to use it