How to use PropertyManagerPageBitmapButton background color

  Can  everyone help me ?

  I want to use PropertyManagerPageBitmapButton like the picture above,while button click, background color, it looks like gray, This helps distinguish other buttons


but now while button is clicked, background color is not obvious, I tried everything but I can't change it, anyone can tell me, thanks!

Comments 2
FO
FO 2021-07-13

You could toggle in size. https://xcad.xarial.com/property-pages/controls/bitmap-button/

 

That gives obvious indication of active selection.

AS
AS 2021-07-13

To piggyback @FO, see this link:

http://help.solidworks.com/2021/english/api/sldworksapi/SolidWorks.Interop.sldworks~SolidWorks.Interop.sldworks.IPropertyManagerPageBitmapButton~IsCheckable.html

Note from the Remarks section: "This property is only meaningful and used by the SOLIDWORKS application when the bitmap button control is of type swControlType_CheckableBitmapButton."