[SOLVED] User Buttons Odd Icon Behavior
Posted: 04 Apr 2013 23:49
When you edit a User Button, you have the Name, Icon, On click, and On right-click field. If you attempt to add parentheses around the path to icon due to spaces in the path, on next edit, you will see that the path to the icon becomes empty and somehow that path that was there ended up in the "on click" text field.
On Edit:
Icon: "C:\PathToIcon.ico"
On click: ::load "<xyscripts>\Script.xys"
Click ok and then reedit that button. It now shows:
Icon:
On click: C:\PathToIcon.ico"|0| ::load "<xyscripts>\Script.xys"
On Edit:
Icon: "C:\PathToIcon.ico"
On click: ::load "<xyscripts>\Script.xys"
Click ok and then reedit that button. It now shows:
Icon:
On click: C:\PathToIcon.ico"|0| ::load "<xyscripts>\Script.xys"