问题
How to change at runtime by code (not for groupskintype), the skin type for a sptbxtoolbar component?
回答1:
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.
回答2:
I don't know that component, but found this with Google. Hope it helps.
来源:https://stackoverflow.com/questions/815371/delphi-component-sptbxtoolbar-skin-change