2009 Mar 02 2:12 AM
Hi,guys!
i got a question,when i did a function modules of a dialog(on_line) program,i found the system
exit buttom on the right top window couldnt be trriggered,the result was i coudlnt close the window,
but the same code in report program,it can work,can anyone tell me why and how to corrent my code.
thxs in advance!
hi,Madan
this question is that the 'X' buttton is show up automaticly by system,in my pbo i wrote the statement ' MODULE %_PF_STATUS.' to monitor ,in report program it works but doesnt in FM.
i did follow ur words ,but i couldnet find the 'X' button through ' set pf-status -- ' ,seems this 'X' button
is other kind of system button,i puzzled!
regards
kevin
2009 Mar 02 2:49 AM
hi buddy,
In your PBO you have to do the this ...
SET PF-STATUS space.
or, If you want all the functions to be working (Exit, Back, Cancel) then create a new status. double click on it and then give the function codes for it.
eg... set pf-status 'MENU1'.
you can use the standard function codes for this.
Regards,
Madan..
2009 Mar 02 3:14 AM
hi,Madan
this question is that the 'X' buttton is show up automaticly by system,in my pbo i wrote the statement ' MODULE %_PF_STATUS.' to monitor ,in report program it works but doesnt in FM.
i did follow ur words ,but i couldnet find the 'X' button through ' set pf-status -- ' ,seems this 'X' button
is other kind of system button,i puzzled!
regards
kevin
2009 Mar 02 3:34 AM
when i set the size of the pop-up window like this 'call SCREEN 100 STARTING AT 10 50 ENDING AT 100 100 ' the 'X' button come to appear .
2009 Mar 02 3:40 AM
Hi Buddy,
Go to the flow logic of your module pool...u will find something like 'MODULE STATUS_0100.'... here
'_XXXX' will be your screen no...
double click on that...that will create a new module...u can do this there...
module STATUS_0100 output.
SET PF-STATUS space.
SET TITLEBAR 'xxx'.
endmodule. " STATUS_0100 OUTPUT
If you want more functionalities then give a menu name and give some function code to that 'Cancel' button and then program for that in the PAI... but i think since it is in standard tool bar, you find the standard function code and just give that name... that should help..
regds,
Madan
2009 Mar 02 3:53 AM
the problem is solved,that 'X' button namely is the exit system button, so gotta set a function-code to the button.~
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |