Originally Posted 15 July 2017, 6:36 pm ESTIn versions prior to the latest 4.0.20172.271 this was working properly. I have a number of forms and flexgrid controls in my program. All have the same settings for Visual Style and the options for Normal, Focus and other various styles. All Flexgrid controls that do not have an OwnerDrawCell routine continue to work properly. The flexgrid controls that have an OwnerDrawCell do not work the way that they used to. The code in the OwnerDrawCell is used to change the background color for one cell in the Grid based on information in the data. Here is the code used to change the Background color.
If C1FlexGridItems.Cols(e.Col).Name = "Packs" And e.Row > 1 Then
If C1FlexGridItems.GetData(e.Row, "BreakableCa") = "Y" Then
e.Style.BackColor = Color.LightGreen
e.Style.BackColor = Color.White
The background for the Focus row is changed to the Light Green or White as well as the background of the cell.
This was working for all versions in 2016 and 20171.248. I just upgraded to 4.0.20172.271 and the background for the Focus of a Row is not using the Focus Style specified in the FlexGrid specifications, but is being changed to the Light Green or White based on the information form the data.
Is there a change required in the new version to retain the colors for the Focus style and only change the background color for an individual cell.
Thanks in advance for your help.