Hi Ron, yes like Pilou writes above you'll need to insert a <moi:CommandButton> tag into the file CommandBar.htm .
Copy your icon .png file into the \ui\icons folder inside the main MoI installation folder, and then a simplified command button would go like this:
<moi:CommandButton icon="icons/YourIcon.png" command="commandname">Button text here</moi:CommandButton>
You would replace the "YourIcon.png" above with the actual file name of your icon file (make it a 64x64 pixel PNG file), replace "commandname" with the actual command you want to run, and replace "Button text here" with the text you want displayed at the bottom of the button.
If you run into difficulty if you can post your edited CommandBar.htm file here that would make it easier to see anything that's wrong.
Also if you want it to go in a particular place if you could say where that is that would make it easier to give you more specific instructions.
- Michael
|