IBM i Global

IBM i Global

Connect, learn, share, and engage with IBM Power.

 View Only
  • 1.  How to display pop up message in window over existing display file

    Posted Thu October 12, 2023 12:13 PM

    Hi,

    I want to display a pop up window over existing display file.

    and in this pop up window i want to display some message like "Item found Accept Item? (Y/N) -

    if i enter 'Y' then accept this item and if i enter 'N'  then clear this field.

    So any suggestion how can i display it ?

    Thanks



    ------------------------------
    Kevin Steve
    ------------------------------


  • 2.  RE: How to display pop up message in window over existing display file

    Posted Tue November 07, 2023 10:29 AM

    Hi.
    Just create a new record in the DSPF, with type WINDOW, and display it like another record.
    Be carefull with keyword USRRSTDSP and RMVWDW
    https://www.ibm.com/docs/en/i/7.5?topic=80-window-window-keyword-display-files



    ------------------------------
    Thomas BARBEROT
    ------------------------------



  • 3.  RE: How to display pop up message in window over existing display file

    Posted Mon December 18, 2023 10:17 AM

    Hi, 

    One of my rpg programs is displaying the red X bottom left of the screen after the display file is called. What could be triggering that? I tried to put the pgm in debug but it doesn't help finding the issue. 

    Thanks. 



    ------------------------------
    Michael Cramer
    ------------------------------