Delphi component spTbxToolbar skin change
-
03-07-2019 - |
Question
How to change at runtime by code (not for groupskintype), the skin type for a sptbxtoolbar component?
Solution
You can only change the skin of all SpTBXLib components at once.
Use this code
SkinManager.SetSkin('Office 2007 Blue');
You can however set for each SpTBXLib component if it is drawed using the skin, Windows look or the default look, by setting assigning the SkinType
property.
MyComponent.SkinType := sknWindows;
Hint: Toolbars itself do not have the SkinType property. They are always drawn using the skin.
OTHER TIPS
I don't know that component, but found this with Google. Hope it helps.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow