Adding CustomColors in TsColorSelect Root › Technical support › Troubleshooting This topic has 1 reply, 2 voices, and was last updated 15 years ago by Support. Viewing 2 posts - 1 through 2 (of 2 total) Author Posts October 27, 2009 at 5:05 pm #33371 ChrisParticipant When I try to add custom colors in my TsColorSelect control, I get an access violation at runtime. Here's the code I'm using: sColorSelect1.ColorDialog.CustomColors.Add('ColorA=' + IntToHex(clGray, 8)); That code works fine when used with a standard Delphi TColorDialog: ColorDialog1.CustomColors.Add('ColorA=' + IntToHex(clGray, 8)); I'm using AlphaControls version 6.47 with Delphi 7. Any ideas? October 28, 2009 at 11:51 am #40917 SupportKeymaster Hello Chris This property used for defining a custom user Dialog which will be used.So, by default it's nil and dialog will be created immediately before showing. Author Posts Viewing 2 posts - 1 through 2 (of 2 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