Add a picture button with images in InfoPath 2010

Learn two ways to add a picture button with its corresponding images to an InfoPath form template and what the difference is between these two methods.

You can use a Picture Button control on an InfoPath form to display an image as a button. A picture button works the same way as a normal button with the difference that it uses images for its normal and hover states.

There are two ways you can add images to an InfoPath form template so that those images can be used as images for one or more picture buttons. If you are adding one picture button to an InfoPath form template, it does not matter which method you choose. However, if you intend to add more than one picture button to an InfoPath form template and reuse images among the buttons, it does matter which method you choose to add the images, since one method has the potential to make the size of a form template larger and thus also affect load times of InfoPath forms.

The following InfoPath 2010 video shows you two different ways of adding picture buttons with images to an InfoPath form template and explains what the difference is between those two methods.

In this InfoPath 2010 tutorial video, you learned...

  • How to add a Picture Button control to an InfoPath form template.
  • How to select images for a picture button through the Properties tab in InfoPath 2010.
  • How to configure images through the Picture Button Properties dialog box.
  • How to add images as resource files to an InfoPath form template and then use those images on picture button controls.
  • How to set the normal and hover state images for a picture button control.

See more InfoPath 2010 tutorial videos »

 
 Subscribe for updates via RSS or Email

Copyright: This article may not be used on web sites (whether personal or otherwise), copied, disseminated, altered, printed, published, broadcasted, or reproduced in any way without an expressed written consent of S.Y.M. Wong-A-Ton. The techniques demonstrated in this article may be used within any Microsoft InfoPath project. This article is provided without any warranties. Copyright for this article is non-transferrable and remains with the author, S.Y.M. Wong-A-Ton.

InfoPath 2013 Cookbook: 121 Codeless Recipes for Beginners
InfoPath 2013 Cookbook 2: 121 Codeless Recipes for SharePoint 2013
InfoPath 2010 Cookbook: 101 Codeless Recipes for Beginners
InfoPath 2010 Cookbook 2: 101 Codeless Recipes for SharePoint 2010
InfoPath 2010 Cookbook 3: 101 Code Recipes for C# Developers
InfoPath 2010 Cookbook 5: Integrating InfoPath with Excel and Excel Services


Related InfoPath Articles:

InfoPath 2013 Cookbook: 121 Codeless Recipes for Beginners

InfoPath 2013 Cookbook 2: 121 Codeless Recipes for SharePoint 2013

InfoPath 2010 Cookbook: 101 Codeless Recipes for Beginners

InfoPath 2010 Cookbook 2: 101 Codeless Recipes for SharePoint 2010

InfoPath 2010 Cookbook 3: 101 Code Recipes for C# Developers

InfoPath 2010 Cookbook 4: 101 Code Recipes for VB Developers

InfoPath 2010 Cookbook 5: Integrating InfoPath with Excel and Excel Services