If I knew the button name I could find the appropriate line in the XML file. I laready have the XML file completed, all that's missing from the XML is the SmallIcon or LargeIcon value. BTW the names I used are generated via code and they match the associated original menu names, and I use a simple Send_Event to the (now hidden) menu.
I have a ton of lines that look like the following (with <> removed below)
Or I could drop the file, save the name and then click on the button I wanted to assign the png file to.
I'll just do it it with a seperate edit table that I'll parse the XML text into and have one column be the location of the png file that I will populate via drag and drop.
Got it working by using an edit table, drag and drop png file on to the relevant line of the XML (displayed in the edit table), update xml with new png file, update toolbar by resting and telling it to use the new XML.
Comments
If so, how would you know which commands the png file would be associated with?
I have a ton of lines that look like the following (with <> removed below)
Button Key="BTN_FILE_REGISTER"
Command Key="FILE_REGISTER" Caption="Register" KeyboardTip="" Shortcut="" SmallIcon="" Tooltip="Register"
Button
I'll just do it it with a seperate edit table that I'll parse the XML text into and have one column be the location of the png file that I will populate via drag and drop.