On Friday 19 August 2011 10:50:41 Julio Jiménez wrote: > Disable optionsedit oe_checkmrcancel for the editwidgets which should not > > > check the window cancel state or set window.modalresult to mr_none. How > > do you abort window closing? > > the response is in your question ;) > > in onclose: > if dataediting or inserting then > begin > message... > abort; <<---- > end;
Aha. :-) Better to use onclosequery and to set amodalresult to mr_none. Martin _______________________________________________ MSEide-MSEgui-talk mailing list MSEide-MSEgui-talk@lists.berlios.de https://lists.berlios.de/mailman/listinfo/mseide-msegui-talk