TsDBGrid stack overflow Root › Technical support › Troubleshooting This topic has 5 replies, 2 voices, and was last updated 7 years ago by Stephane Senecal. Viewing 6 posts - 1 through 6 (of 6 total) Author Posts October 25, 2017 at 2:22 pm #37630 Stephane SenecalParticipant I attached a demo project so you can see the problem. When I clear all fields from a dataset associated with a TsDBGrid, I get a stack overflow. I do not get this error when I use a regular TDBGrid. You can add a break point to the function TacColumnTitle.IsCaptionStored to get you started. Stephane Senecal CIS Group Delphi programmer since 2001 October 26, 2017 at 7:09 am #57186 SupportKeymaster Thank you for the demo. Try the attached file, please. October 26, 2017 at 12:27 pm #57189 Stephane SenecalParticipant Seems to work. thank you! Stephane Senecal CIS Group Delphi programmer since 2001 October 27, 2017 at 5:51 pm #57193 Stephane SenecalParticipant Finally it is not quite correct. There's no stack overflow anymore, but the grid still needs to be painted according to the informations coming from the grid's column like the caption. Stephane Senecal CIS Group Delphi programmer since 2001 October 31, 2017 at 11:15 am #57199 SupportKeymaster Try this patched file, please. October 31, 2017 at 12:38 pm #57200 Stephane SenecalParticipant It works Stephane Senecal CIS Group Delphi programmer since 2001 Author Posts Viewing 6 posts - 1 through 6 (of 6 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