Deathboy Posted June 8, 2010 Share Posted June 8, 2010 I've read in the help file but can't figure out how to get the text of a selected item in the listview. The list view has 7"Categories" $listview = GUICtrlCreateListView("Navn |Født |Poststed |Formue |Inntekt |Skatt |Kart ", 1, 46, 998, 550);,$LVS_SORTDESCENDING) and the items are added with a looping script that sets a bunch of variables and in the end: GUICtrlCreateListViewItem($line1&"|"&$line2&"|"&$line3&"|"&$line4&"|"&$line5&"|"&$line6&"|"&$line7, $listview) So I'm wondering how I can retrieve the text under "Kart" in the listview on the item I have currently selected. After my script has finished adding all the items ofc Tommy Link to comment Share on other sites More sharing options...
bogQ Posted June 9, 2010 Share Posted June 9, 2010 GUICtrlCreateListView() have Example that include reading data from selected row So after you get your information from the row you can simply split the string on "|" and get data from $var[7] TCP server and client - Learning about TCP servers and clients connectionAu3 oIrrlicht - Irrlicht projectAu3impact - Another 3D DLL game engine for autoit. (3impact 3Drad related) There are those that believe that the perfect heist lies in the preparation.Some say that it’s all in the timing, seizing the right opportunity. Others even say it’s the ability to leave no trace behind, be a ghost. Link to comment Share on other sites More sharing options...
Deathboy Posted June 9, 2010 Author Share Posted June 9, 2010 GUICtrlCreateListView() have Example that include reading data from selected row So after you get your information from the row you can simply split the string on "|" and get data from $var[7] AAH must have been to tired yesterday when I was working on it ^^ Thanks alot Link to comment Share on other sites More sharing options...
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