• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 282
  • Last Modified:

Listview update

Hi I'd like to be able to update the listview though I'd like to speed up the time that it takes.

I know that you can put something at the top of the code and then at the bottom though can't remember what that is, could anyone help me? is it update?
0
eNarc
Asked:
eNarc
1 Solution
 
twinsoftCommented:
Hi, yes you must use

ListView1.Items.BeginUpdate;
...
ListView1.Items.EndUpdate;

don't forget that a good practice is to enclose statements like these in a try..finally block

0
 
tigin44Commented:
is that

Application.DisableControls();

.....

Application.EnableControls();
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now