Closed pc8181 closed 4 years ago
have any possible way to invert the form buttonspec type icon colors ?
Thanks
Is it a custom icon?
WindowsApp3.zip no sir this is inbuilt icon
`
Friend WithEvents btnOnTop As ComponentFactory.Krypton.Toolkit.ButtonSpecAny
Me.btnOnTop = New ComponentFactory.Krypton.Toolkit.ButtonSpecAny()
Me.btnOnTop.Style = ComponentFactory.Krypton.Toolkit.PaletteButtonStyle.ButtonSpec
Me.btnOnTop.Type = ComponentFactory.Krypton.Toolkit.PaletteButtonSpecStyle.PinVertical
Me.ButtonSpecs.AddRange(New ComponentFactory.Krypton.Toolkit.ButtonSpecAny() {Me.btnOnTop})`
this icon is come from
Me.btnOnTop.Type = ComponentFactory.Krypton.Toolkit.PaletteButtonSpecStyle.PinVertical
ButtonSpec Type has inbuilt icons ...
please check the attached project .... just click the buttonspec on form top border
Sorry I'm not familiar with ButtonSpec
, so it may take time to investigate
This appears to be 2 part situation:
Oh, and to make things worse, there are 2 set of icons that can be used for most things, but only 1 pin type: These are all Buttons Specs, and using the Office2007 Black Theme. It's the same for the other themes. The order is (From Left)
It is possible to use a generic ButtonSpecType, and add your own image:
The Order of image retrieval:
I'm setting this to "Won't fix" unless "we" want to add a new bmp to each theme and route it through for usage as a different Pin type (And the other pin type also!)
Krypton form i changed the StateCommon\Header backcolor to Black and add ButtonSpec in form and change it type to Pin Vertical, ButtonSpec Type icon is white in design time but in run time it will show as black color I'm using krypton palette 'office 365 Black',
how to resolve this ?
Design Time :
RunTime: