Forum > Packages and Libraries

SpkToolbar custom update

<< < (2/2)

wp:
I added a TSpkSeparator to the ccr version. It is based on TSpkLargeButton specialized such that ButtonKind is bkSeparator (an intermediate TSpkCustomLargeButton class had to be introduced to keep some button-specific properties out of TSpkSeparator).

wp:
Now I also added a TSpkToggleSwitch based on your idea. I changed the color selection so that it better fits into the Appearance template system. When Appearance.Element.KnobAsGradient is true the knob of the switch is drawn in the gradient colors used also for the buttons. For the other case two new colors, TrackColor and KnobColor, were introduced which give a bit more freedom but results only in a flat control.

Navigation

[0] Message Index

[*] Previous page

Go to full version