Skinning of dynamically created controls? Root › Technical support › Troubleshooting This topic has 3 replies, 2 voices, and was last updated 14 years, 4 months ago by Support. Viewing 3 posts - 1 through 3 (of 3 total) Author Posts October 25, 2011 at 9:36 am #47037 SupportKeymaster Hello You can try this code Code: var sBtn : TSpeedButton; begin sBtn := TSpeedButton.Create(self); with sBtn do begin Width := 50; Height := 50; Top := 50; Left := 50; Parent := self; Caption := 'xx'; end; sSkinProvider1.Adapter.AddNewItem(sBtn); end; October 28, 2011 at 11:03 am #47045 ralfiiiParticipant 'Support' wrote: Hello You can try this code Code: sSkinProvider1.Adapter.AddNewItem(sBtn); As this is the main form I don't have a SkinProvider there, only a SkinManager. Is “Adapter” (or similar) also available from a TsSkinManager-Component? Or should I place a SkinProvider on the mainform also anyway? (I thought I only need SkinProvider on additional forms) Thanks! October 31, 2011 at 9:00 am #47071 SupportKeymaster Yes, TsSkinProvider component should be placed on each form where it possible. Author Posts Viewing 3 posts - 1 through 3 (of 3 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In Root › Technical support › Troubleshooting