ibmi-brunch-learn

Announcement

Collapse
No announcement yet.

loosing my initial screen when I display several

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • loosing my initial screen when I display several

    Hi All,
    I have a problem with loosing my initial screen when I display several sequential windows on top of the initial display. Here is the program flow:
    >pgmA displays a full screen
    >pgmA calls pgmB
    >pgmB displays a window. the user makes a selection and pgmB ends,
    >returning to pgmA
    >pgmA calls pgmC
    >pgmC displays window
    >
    >When pgmC displays it's window, the screen that pgmA displayed initially goes away. I am using the RSTDSP=*yes on the screen in pgmA, and I am using the ASSUME keyword in all 3 display files.

    Any suggestions would be appreciated.

    Thanks in advance

  • #2
    Re: loosing my initial screen when I display several

    On what screens are you using OverLay on?
    Hunting down the future ms. Ex DeadManWalks. *certain restrictions apply

    Comment


    • #3
      Re: loosing my initial screen when I display several

      Just of the top, I can think of 2 instances where this might also happen (excluding overlay):
      1. You may have a write format without the exfmt, then into the program and doing an exfmt there.
      2. Are you maybe switching from 80x24 to 132x27 (or visa versa) between programs without the calling program's DSPF having the format capabilities of the called program's DSPF.
      Regards

      Kit
      http://www.ecofitonline.com
      DeskfIT - ChangefIT - XrefIT
      ___________________________________
      There are only 3 kinds of people -
      Those that can count and those that can't.

      Comment


      • #4
        Re: loosing my initial screen when I display several

        Ensure you have specified the overlay keyword for all the necessary formats. If even after this you get the same problem, add dummy record format to the display file as follows:-

        Code:
        A              R DUMMYREC
        A                                               2  2   ' '
        Last edited by vikramx; June 21, 2009, 08:43 AM.

        Comment

        Working...
        X