Sign in to follow this  
Followers 0
umek

GuiCtrlCreateListViewItem

3 posts in this topic

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

Share this post


Link to post
Share on other sites



Try:

GuiCtrlCreateListViewItem($varUser  & "|" &  $varStation, $listView)

Share this post


Link to post
Share on other sites

Thx volvox! It works fine! :(

I can go ahead ...

many greetings

umek

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  
Followers 0