title: Is there a way to get rid of this painting issue in the TListView control?
body: <p>I am using XE5 Update 2 on windows 7 64 bit (all the updates up-to-date).</p>
  
  <p>I have an app with a simple TListView object.</p>
  
  <pre><code>object lsvReceipts: TListView
    Left = 0
    Top = 0
    Width = 1382
    Height = 760
    Align = alClient
    Columns = &lt;
      item
        Caption = 'Column 1'
        Width = 100
      end
      item
        Caption = 'Column 2'
        Width = 100
      end
      item
        Caption = 'Column 3'
        Width = 100
      end
      item
        Caption = 'Column 4'
        Width = 100
      end&gt;
    MultiSelect = True
    OwnerData = True
    RowSelect = True
    TabOrder = 0
    ViewStyle = vsReport
    OnData = lsvReceiptsData
    ExplicitLeft = 136
    ExplicitTop = 200
    ExplicitWidth = 521
    ExplicitHeight = 321
  end
  </code></pre>
  
  <p>Here is some of the pas code. It simply displays the data from a firedac TFDQuery object.</p>
  
  <pre><code>procedure TForm3.lsvReceiptsData(Sender: TObject; Item: TListItem);
  var index: integer;
  begin
  
   index := Item.Index;
   receiptsQuery.RecNo := index;
   Item.Caption := dockReceiptsQueryDR_.AsString; 
   Item.SubItems.Add(receiptsQueryDOCK_RCPT_ID.AsString);
   Item.SubItems.Add(receiptsQueryRCVD_DATE.AsString);
  end;
  </code></pre>
  
  <p>As you can see in the image below, there are some repainting problems that occur when I select a few rows and then I deselect them. If I set the OwnerData to false and add the records to the list manually using the lsvReceipts.Items.Add method it doesn't happen.</p>
  
  <p>Any ideas on how to get rid of this? Based on other messages I've seen here, the control is riddled with issues. Unfortunately, I have to use it for now. </p>
  
  <p>And in case you are wondering, I need a list with several columns, where the user can select multiple records. I begun by using a DBGrid with the multiselect option set, however, after using it for a bit the functionality for selecting multiple rows is limited (for instance, SHIFT+Click, SHIFT+PageUp/PageDown don't work). We plan to upgrade to the devexpress grid in the future anyway, but for now I have to stick to the vcl vanilla controls.</p>
  
  <p>Thanks</p>
  
  <p><img src="https://i.stack.imgur.com/zh59b.png" alt="enter image description here"></p>