TsDBCtrlGrid PaintPanel problem Root › Technical support › Troubleshooting This topic has 3 replies, 2 voices, and was last updated 12 years, 4 months ago by Support. Viewing 4 posts - 1 through 4 (of 4 total) Author Posts October 11, 2012 at 6:13 pm #35397 phil56Participant Hello, If in TsDBCtrlGrid.PaintPanel event, I change a TImage state (visible or not) the TImage is not repainted if the skin panel not have a gradient background (ie: Calcium skin) Code: void __fastcall TForm27::sdbctrlgrd1PaintPanel(TDBCtrlGrid *DBCtrlGrid, int Index) { if(Index % 2 ==0) { img1->Visible = false; } else { img1->Visible = true; } } C++ Builder XE, Windows 7, Alaph version 7.70 See the test case in attachment Thanks in advance October 19, 2012 at 2:11 pm #49156 SupportKeymaster Hello! Try to change the spnl3.SkinData.BGChanged property to True before a showing of the image. October 22, 2012 at 6:59 am #49160 phil56Participant 'Support' wrote: Hello! Try to change the spnl3.SkinData.BGChanged property to True before a showing of the image. Thanks for your reply, Where ? in TsDBCtrlGrid PaintPanel event ? I tried this but it didn't work… another idea ? thank you again October 25, 2012 at 1:35 pm #49193 SupportKeymaster Maybe this issue exists because your DataSet is empty? I have filled a DataSet and have good result.. Author Posts Viewing 4 posts - 1 through 4 (of 4 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