Add Print Form icon to Quote Toolbar

Hi Guys,

I want to add a “Print Form” icon to the Quote toolbar. Any idea if this is possible?

I see there was a post on this in the Yahoo archive but there were no replies (Add Print Form in Quote Toolbar)

I can add a hot key which will work but the icon would be more visible and follow general theme of other forms.

1 Like

This comes from dashboard code, but the principle should be the same.

if (!baseToolbarsManager.Tools.Exists("PrintTool"))
{
	btlPrint = new ButtonTool("PrintTool");
	btlPrint.SharedProps.Caption = "Print";
	MainController.setToolImage(btlPrint, "Print");
	btlPrint.SharedProps.Enabled = true;
	btlPrint.SharedProps.Visible = true;
	baseToolbarsManager.Toolbars["Standard Tools"].Tools.Add(btlPrint);
}
else
{
	btlPrint = (ButtonTool)baseToolbarsManager.Tools["PrintTool"];
	btlPrint.SharedProps.Enabled = true;
	btlPrint.SharedProps.Visible = true;
	baseToolbarsManager.Toolbars["Standard Tools"].Tools.Add(btlPrint);
}
2 Likes

Thanks Guys.

I was able to get it done with the code above and some help from another post.