Jump to content
Sign in to follow this  

Does not update Listview. What am I doing Wrong

Recommended Posts


As a newbie I try to update a listview as the program runs, but it does not update....

Here the code:

GUICreate("Status Window", 400, 400)


$listview =GUICtrlCreateListView("",10,30,380,250)



GUICtrlCreateListViewItem ( "Reading inifile..... ", $listview)

$file = FileOpen("my.ini", 0)

; Check if file opened for reading OK

If $file = -1 Then

GUICtrlCreateListViewItem ( "Can't find ini file. A default has been", $listview)

GUICtrlCreateListViewItem ( "created. Please edit it and rerun application.", $listview)





When I run this it never updates the listview. What have I missed?


Share this post

Link to post
Share on other sites

Problem solved

I used the MemoWrite function in the helpfile then i GOT IT TO WORK

Share this post

Link to post
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
Sign in to follow this  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.