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

Save the program when exit

Former Member
0 Likes
649

Hi all,

I doin a dialog program. How to pop out a save dialog when the user close the program or 'x' the program?

Thks

4 REPLIES 4
Read only

Former Member
0 Likes
624

Hi,

Ya u can do that by calling the function(provided by SAP) just give POP and give F4 in callinf function, u will be able to find lot of functions and their discriptions. Choose the right function and give the parmters.

Reagrds

Naveen

Reward ponits if helpful.

Read only

0 Likes
624

Okie... another problem come...

Hw to trigger the 'X' close the program to call this fm?

Any code that detect the user click on the 'X' of the program?

Read only

Former Member
0 Likes
624

Hi,

For this type of problem u can do one thing.

Provide them the exit button. Check whether this button is pressed.

If pressed call the function.

Read only

0 Likes
624

Okie... this solution i have noted down.... what happen if the user click on the top right corner the 'X' ......anything code that enable me to check that also.....the 'X' close of the program.