Re: listview sequential read


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

Posted by Barbara Brazil on January 14, 2010 at 16:16:01:

In Reply to: listview sequential read posted by Grant Foraker on January 14, 2010 at 12:20:15:

Grant:

You're trying to read all the entries in the list not just the selected ones? I've only read thru the selected ones. In that case cosItemId = -1 does indicate the end of the selected items. This loop counts the selected items.

cosItemId = -1 & SelCount = 0

do

cosCtlId = ID.LISTVIEW
cosCode = LVNI.SELECTED
gosub COS.ListView.GetNextItem
if cosItemId = -1 break
SelCount = SelCount + 1

loop

bb


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 ]