Subscribe Bookmark RSS Feed
pmroz

Super User

Joined:

Jun 23, 2011

Icon Names Addin

This is the icon names program originally created by Jeremy Francis of Intel a few years ago.  Updated a bit for JMP 10, 11 and 12.  You can use the icon names in Application Builder to add icons to button boxes.  Or you can use them in JSL as shown in the following example:

nw = new window("Icon Names",

       text box("Here are some button boxes with icons"),

       lineup box(ncol(1),

              bb1 = button box("TreeMap"),

              bb2 = button box("Surface Plot"),

              bb3 = button box("Filter"),

              bb4 = button box("Exit", nw << close window),

       ),

       bb1 << set icon("TreeMap"),

       bb2 << set icon("SurfacePlot"),

       bb3 << set icon("Filter"),

       bb4 << set icon("Stop"),

);

This produces the following output:

9894_Sample Buttons with Icons.png

Here's the output for the addin:

9893_IconNamesV2.png

Comments
volinoca

Thanks Peter. No need to send this to me directly now. I appreciate you providing this. Very useful.

Article Labels
Contributors