Jump to content
Sign in to follow this  
LerN

Reads the text in listview

Recommended Posts

LerN

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
LerN

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

Edited by LerN
not solved

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  

×