Hey JMPers!
Again a little scripting problem: I would like to add a custom image to a ButtonBox. Sadly it does not work. My script looks like this:
New Window("My Window",
V List Box(
bb = Button Box("New Project");
)
);
// bb << Set Icon("JMP"); // This works!
bb <<Set Icon("../imgs/New Project Icon.png"); // => Gives "Unknown" in the log!!!
New Image(Open("../imgs/New Project Icon.png")); // Opens the image. Path seems to work fine
As you can see, JMP is able to find my image, as the last line of the script works without error. But the second to last line produces the message "Unknown" in the log and doe not add the Image to the Button.
Thanks for any advice,
Sebastian