Jump to content

Update a listview item ...


Recommended Posts

Hi All,

I am trying to update a listviewitem when i only know the Item and Colum index.

The items have been created dynamically and therefore have no control ID associated with them.

I cannot use this syntax:

$item1=GuiCtrlCreateListViewItem("item2|col22|col23",$listview)

Also tried searching the help and the forums.

Any suggestions?

----[ SandyD ]---
Link to comment
Share on other sites

Hi All,

I am trying to update a listviewitem when i only know the Item and Colum index.

The items have been created dynamically and therefore have no control ID associated with them.

I cannot use this syntax:

$item1=GuiCtrlCreateListViewItem("item2|col22|col23",$listview)

Also tried searching the help and the forums.

Any suggestions?

<{POST_SNAPBACK}>

Look at the UDF function about listview (type listview in the searching tool of the help file) :(
Link to comment
Share on other sites

Have tried searching for some code to do this, can't find nothing in the forums.

Downloaded the latest beta and looked in the includes and found the Listview UDFs, but still cant find anything to do this.

I could try to empty the listview, and re-add the items with the extra colum, buit was wondering if anyone had a way of just adding to the colums.

e.g. (Pseudo code)

Do 
    ListviewColum[2] = _GetCurrentlyLoggedOnUser(ListviewColum[0]
Until lastlistviewitem

Any ideas, suggestions?

----[ SandyD ]---
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...