Icons on custom toolbars

M

MarkT

I've created a custom toolbar by modifying the manifest.xsf file for
an InfoPath form.
I have created 2 buttons - they are linked to OnClick commands.

The buttons show up correctly, and work correctly.

I can't get the button picture to show up - i have tried Gif's, BMP's,
16x16 BMP's. Can someone help me here?

This is my code:
<xsf:views default="View 1">
<xsf:view name="View 1" caption="View 1">
<xsf:mainpane transform="view1.xsl"></xsf:mainpane>
<xsf:toolbar caption="Plan of Service" name="Plan of
Service">
<xsf:button name="WSSetUp" icon="ws.gif" caption="Set Up
For Worksheet" showIf="always" tooltip="Set up this doc as
worksheet"></xsf:button>
<xsf:button name="RemoveBlanks" icon="ws.bmp"
caption="Remove Blank Space" tooltip="This will remove the blank
space"></xsf:button>
</xsf:toolbar>
<etc...>

thanks, mark
 

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