Gerard,
>What I want to do is exit completely from the app . A simple return wont do this on the Exit Button, will it ?
The button should only have CLEAR EVENTS, which will throw control back to the line following the READ EVENTS which should be in your main.prg. Then in the rest of the code you do your shutdown and RETURN.