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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top