Message 1 of 5
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I was wondering how to add an image to a button. The default image is a question mark and I was wondering how to replace it with my own.
Here is the command I am using:
cmdDef = ui.commandDefinitions.addButtonDefinition(CMD_ID, CMD_ID, CMD_ID,resourceFolder= "")
I found where the resource folder is for this command it contains 4 images (3 default & 1 of my own):
Default: 16x16png, 32x32.png, and 64x64.png
My image: TD.png
I'm trying to use the TD.png but I am not sure how to call it.
Wondering if someone could explain how I can call the image. Again, the image i am trying to use is in the same folder as the command resource folder.
Thank you
Solved! Go to Solution.