Skip to content

Instantly share code, notes, and snippets.

@ijd65
Created August 15, 2013 03:06
Show Gist options
  • Save ijd65/6237858 to your computer and use it in GitHub Desktop.
Save ijd65/6237858 to your computer and use it in GitHub Desktop.
Sets the window of the Infopath form to the name you specify
function XDocument::OnSwitchView(eventObj)
{
XDocument.View.Window.Caption = "Name of Form";
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment