Suppose I want to have various panels with the same characteristics except for color, is there a way to change the color of a panel (suppose a TsPanel with a color gradient) during runtime? Or do I have to create different objects, one for each color, in the skin editor program?
Hello Zohar I can suggest two ways : 1. Set the sPanel.SkinData.SkinSection property to 'GROUPBOX' and sPanel.SkinData.CustomColor to True. You will be able to change sPanel.Color property as you want in this case. 2. Make any amount of new SkinSections in used skin, you can make any different kinds for different panels and use them later after defining of SkinData.SkinSection property.