LerN Posted April 21, 2017 Posted April 21, 2017 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
LerN Posted April 21, 2017 Author Posted April 21, 2017 (edited) Solved: $read = StringSplit(_GUICtrlListView_GetItemTextString($ListView1,2),"|",2)[0] Edited April 21, 2017 by LerN not solved
232showtime Posted April 22, 2017 Posted April 22, 2017 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 ill get to that... i still need to learn and understand a lot of codes Correct answer, learn to walk before you take on that marathon.
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