Quantcast
Channel: Windows Forms Data Controls and Databinding forum
Viewing all articles
Browse latest Browse all 2535

Slow selection change

$
0
0
I have a customer datagridview on a form and every time I select another row a bunch of labels get filled up with data about the current customer. It also fills a listview with this customers AR information. When I press the down arrow up and down all the information fills out very quickly. When I just hold down the down arrow the whole thing basically freezes and moves so so so slowly. When I take out the code to load the AR listview it goes very fast even when I hold down the down arrow. I did a test to see if it was even going through the selection changed event. I put in code that for each time it goes through the selection changed event it should add a line to a label. When I press up and down the line adds every time I press the down arrow. When I take out the code for filling the AR listview, even when I hold down the down arrow it keeps on adding a line to the label, but when that code is in place it doesn't add a line to the label until I lift my finger off the down arrow and then it adds the full amount of lines that I just selected through. What can you advise me on this?

Debra has a question


Viewing all articles
Browse latest Browse all 2535

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>