Re: ListView speed


[ Follow Ups ] [ Post Followup ] [ Signature.net Forum ]

Posted by Brian Levantine on December 07, 2014 at 13:46:08:

In Reply to: ListView speed posted by Grant Foraker on December 02, 2014 at 09:50:49:

Hi Grant. There are a couple of considerations here. The first is to make sure that you only make calls that will NOT return a value. Calls that return a value will cause the GDI cache to flush and cause a line turnaround (to return the result) which will really have a negative affect on performance. So, when you load the control you should limit the calls to COS.ListView.SetItemText. This will maximize use of the cache. Another limited but effective technique can be used when you can limit an entire record to 254 characters. You can send multiple columns in a single transaction by separating them with tab characters. Both of these techniques are demonstrated in the Dlg10.ibs demo program.


Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

What is the name of the main Signature System's Product?  

Comments:

Optional Link URL:
Link Title:
Optional Image URL:

You may attach up to 5 files to your followup (see below):





Each file can be a maximum of 1MB in length Uploaded files will be purged from the server on a regular basis.


[ Follow Ups ] [ Post Followup ] [ Signature.net Forum ]