umek Posted June 16, 2005 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
volvox Posted June 16, 2005 Posted June 16, 2005 Try: GuiCtrlCreateListViewItem($varUser & "|" & $varStation, $listView)
umek Posted June 16, 2005 Author Posted June 16, 2005 Thx volvox! It works fine! I can go ahead ... many greetings umek
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