Close event in infopath

T

Tom

Hello,
1) Is there a way to disable the close (X) icon in the top right side of
the form.
2) Is there a way to "listen" and override the close event (similarly to
overriding
the save event)
3) Is there a way to create a custom icon and put it on the menue (for
example a
print icon that will be called "special print") and override it's
onclick code?

Thanks,
 
B

Brian Teutsch [MSFT]

The answer on 1 & 2 is no, there is no close event. Sorry 'bout that.

You can create your own buttons in the menu by using InfoPath's menu
extensibility. Turn off the print button while designing a form, then create
your own button in the XSF. The help topics in design mode will give you
instructions about creating a button, adding it to "menu targets" on each
menu, and hooking up an OnClick handler.

Brian
 

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