this is fine and i can put it in while statment and iterate through the whole listview finding values that i want.
In addtion the application has certain cells that have images in them, i need to grab the image name that this cell is using. I assume that this is similar to the .image properties of something like a treeview.node.image but i am unable to find a way of access the cell in any collection hanging off the .object method. Below is some code that i have tried
<font class="small">Code:</font><hr /><pre>
set vbLstItm = VbWindow("").VbWindow("").VbListView("").Object.Li stItems
For each item in vbLstItm
this displays the value of the first cell in each row. i cannot seem to find a collection that represents the cells in each row
basically how can i address the all the coloumns on each row via the VB object so that i can do things like return the image name
I am not familiar with VbListView, but you could try using an index with ListItems - for example:
set vbLstItm = VbWindow("").VbWindow("").VbListView("").Object.Li stItems(1)
set vbLstItm = VbWindow("").VbWindow("").VbListView("").Object.Li stItems.Item(1)
I assume there is no context of 'CurrentItem' which may be available once an item has been selected?
This type of response is common in other listview or grid controls where there is no default row selection and there is a need to specify the 'Item' by its index. Once recognized you should be able to access the column value by its Property name.
If you had to identify, in one word, the reason
why the human race has not achieved, and never
will achieve, its full potential that word would be "meetings".