>>This cleanup method is responsible to scan all
>>active windows and determine if we have unsaved
>>changes, if yes, ask the user to ignore these
>>changes or to cancel the shutdown.
>Thanks, this will probably work, i will try it
If the user want to quit with unsaved data, don't forget to do the (currentscreen).Restore() to restore the data on every form containing unsaved datas so don't end up with an error message.