David,
You are of course right. I came to the same conclusion and implemented it as you suggest.
>Peter,
>
>I think your users are going to get real peeved at this sort of interface. One reason for having a multiform interface is to allow the user to go back and forth between forms to get their job done. For example Word doesn't keep asking you to save shanges as you switch from one document to another.
>
>If you are using private datasessions, and buffering it's not very hard to commit or revert their changes when they want to.
>
>>I think I've solved it - just added at messagebox, 'Save changes?' Yes No (if there are any) in the forms Deactivate method. It's not as elegant as I'd hoped for, since the form being activated is on top, but it seems to work. Maybe I should try to put it in the LostFocus method instead.
Peter Pirker
Whosoever shall not fall by the sword or by famine, shall fall by pestilence, so why bother shaving?
(Woody Allen)