Sign in to follow this  
Followers 0
LerN

Reads the text in listview

3 posts in this topic

#1 ·  Posted

Hi,
If i used _Guictrllistview_additem to add item in the listview i cannot use then guictrlread($listview) to get the selected item but if i used guictrlcreatelistviewitem everything would be fine so i wonder how can i get the text of the selected item in the listview by using _guictrllistview_additem since it's faster than guictrlcreatelistviewitem 
i wish if you understand what i mean :)

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

Solved:
$read = StringSplit(_GUICtrlListView_GetItemTextString($ListView1,2),"|",2)[0]

Edited by LerN
not solved

Share this post


Link to post
Share on other sites

#3 ·  Posted

Im guessing,

$read = StringSplit(_GUICtrlListView_GetItemTextString($ListView1,2),"|",2)[0] 
$output = GUICtrlRead($read)
ConsoleWrite($output)

or show your Script, funny, its like a guessing game :lol:


ill get to that... i still need to learn and understand a lot of codes graduated.gif

Correct answer, learn to walk before you take on that marathon.

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