Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

GUI Status in Module pool

Former Member
0 Likes
1,155

Hi,

I am calling next screen in PAI using the following code.

CALL SCREEN 500 starting at 5 5

ending at 20 20.

In new screen 500 the default button ( 'X' Button on top-right corner) for 'CLOSE WINDOW' is not working.

How can I make it active.

Thanks in advance.

Jaison.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
806

Hi,

in pf-status define function code

as E Exit command (MODULE xxx AT EXIT-COMMAND)

Regards

amole

4 REPLIES 4
Read only

Former Member
0 Likes
806

in the PAI of that screen,

PROCESS AFTER INPUT.
  MODULE CANCEL AT EXIT-COMMAND.

MODULE CANCEL INPUT.
            SET SCREEN 0.  
ENDMODULE.            

Read only

Former Member
0 Likes
806

Hi,

you need to make a PF-STATUS for this Winodw, in that you need to create a Cancel button and write the code for that button, i mean in the PAI event, write the leave screen or Call screen <No>.

Regards

Sudheer

Read only

Former Member
0 Likes
807

Hi,

in pf-status define function code

as E Exit command (MODULE xxx AT EXIT-COMMAND)

Regards

amole

Read only

Former Member
0 Likes
806

Hi,

SET PF-STATUS 'ZABC'.

Double click on ZABC, goto the Menu bar and On the Cancel button, write CANCEL. Double click the ICON and type the Function Text as CANCEL.

Activate the Pf-status.

In the PAI write

AT USER-COMMAND.

CASE OKCODE.

WHEN 'CANCEL'.

leave to screen 0.

ENDCASE.

Best regards,

Prashant