umek Posted June 16, 2005 Share Posted June 16, 2005 hello, can you tell me how to fill a "GuiCtrlCreateListViewItem" with a variable. I want to read the contents from an ini-file and I'm only able to fill the fist list-tab. I tried the following code: This works (but only the first list becomes filled) $listView = GuiCtrlCreateListView("User|Workstation|Date|Time", 10, 10, 300, 80) GuiCtrlCreateListViewItem($varUser, $listView) I tought it would be possible by using the following code: $listView = GuiCtrlCreateListView("User|Workstation|Date|Time", 10, 10, 300, 80) GuiCtrlCreateListViewItem($varUser "|" $varStation, $listView) ... but I get permanently an error. I would be in favour with you! regards umek Link to comment Share on other sites More sharing options...
volvox Posted June 16, 2005 Share Posted June 16, 2005 Try: GuiCtrlCreateListViewItem($varUser & "|" & $varStation, $listView) Link to comment Share on other sites More sharing options...
umek Posted June 16, 2005 Author Share Posted June 16, 2005 Thx volvox! It works fine! I can go ahead ... many greetings umek Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now