Capture.JPG
I couldn't get the toggleButton to handle getImage so I used two buttons and getVisible to hide/unhide
<?xml version="1.0" encoding="utf-8"?> <customUI xmlns="http://schemas.microsoft.com/office/2009/07/customui" onLoad="OnLoad"> <ribbon startFromScratch="false"> <tabs> <tab idMso="TabHome"> <group id="grpSQ" insertAfterMso = "GroupFont"> <button id="btnSQ" size="large" label="Straight Quotes" onAction="btnAction" image = "imgRQ" getVisible = "btnVisible" screentip="Turn on Straight Quotes"/> <button id="btnRQ" size="large" label="Smart Quotes" onAction="btnAction" image="imgSQ" getVisible = "btnVisible" screentip="Turn on Smart Quotes"/> </group> </tab> </tabs> </ribbon> </customUI>




