my Tadpole application used dozens of BevelButtons with Icons for various activities... Well as we all know by now, these are not native controls, and therefore not compatible with the new Mojave Darkmode. So as part of my effort to make Tadpole Darkmode compatible, I needed a replacement button type.
Here is what I came up with. An Icon Button, that can take a Caption, an Icon or Both. The icon can be positioned to the Left, Right, Center, Above or Below the Caption. If Above or Below is specified, but either the Icon or Caption is not supplied, it reverts to Center.
Background and Textcolors can be defined for Light Mode, Dark Mode, or Disabled mode, as well as a specific Icon for each (for any icon to appear, the Light version must be supplied)
icon sizes are : 16x16, 24x24, 32x32 and 48x48... whatever image you supply is expanded/reduced to those sizes
Control is based on a CANVAS, so it shows only as a Rectangle at design time
Source code is available for $10 (email me at firstname.lastname@example.org for details if interested)