Browser Cancel

C

Craigs714

Is there any way to trap the event where a use clicks on the "X" in the
browser? I would like to send a warning to the user if the XDocument.ISDirty
property is set. If not trapped the user loses any information they entered
without warning.

Thanks,

Craig
 
G

Greg Collins [InfoPath MVP]

This is not possible directly with InfoPath--however, it might be possible with Managed Code as you can likely get a handle to the window and trap that event. Sorry I can't be any more help than that.
 
Top