How to add Images on The InfoPath 2007 Buttons. - InfoPath Dev
in

InfoPath Dev

How to add Images on The InfoPath 2007 Buttons.

Last post 03-28-2008 05:05 PM by Greg Collins. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 03-27-2008 09:45 PM

    How to add Images on The InfoPath 2007 Buttons.

    1. Open a new IP Form

    2 Save the form

    3.Add the image in the resource file 

    4. Save the Source of the file in a folder

    5 Open the source

    6 Open the View1.xsl in Notepad

    7 Add new CSS class

    .imageButton{

    BACKGROUND-IMAGE:(PICTURE.GIF)

    BACKGROUND-IMAGE:NO-REPET

    }

    8. Add the CSS class in tthe button input class

    9. Open the manifest.xsf

    10. The images are on the button(Resize the Button)

  • 03-28-2008 05:05 PM In reply to

    Re: How to add Images on The InfoPath 2007 Buttons.

    Hi Thanks for sharing... Make sure the one line should read:

    BACKGROUND-REPEAT: NO-REPEAT;

    You may also find that you need to remove the shading from the button, which can be done in the designer. For an XP-style button either the border or shading must be removed before you'll see the image.

    Please refer here for details:

    http://www.infopathdev.com/blogs/greg/archive/2005/06/08/Create-a-Picture-Button.aspx

Page 1 of 1 (2 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.