How do I close the form by taskpane?

A

Annalisa81

Hello,
I try to close the form by taskpane with the follow code:
window.external.Window.Close(true);
This code functions, but close the form and infopath.
is there a method that close only the form??
thanks,
Annalisa
 
V

virgul

Hi,

I don't know if that work but have you try with:

thisapplication.xdocuments.close(0);

++

Thierry
 
Top