cxlaterr Posted October 22, 2006 Share Posted October 22, 2006 (edited) For 3 questions: 1, a listview includs many ListViewItem s when the programe running ,how can i know which of the ListViewiItem has been selected. 2,how to clear all the listviewitems(not named) in a listview 3, While Not $rs.eof Or $rs.bof GUICtrlSetData($List1,"id:"&$RS.fields(0).value&" start time:"&$RS.fields(1).value&" endtime:"&$RS.fields(2).value&" used:"&$RS.fields(3).value) $item1 = GuiCtrlCreateListViewItem($RS.fields(0).value&"|"&$RS.fields(1).value&"|"&$RS.fields(2).value&"|"&$RS.fields(3).value,$list1) $rs.movenext WEnd i want to make $item1,$item2,$item3...... for all the recoder. How to name these? My English is so pool ,sorry! Edited October 22, 2006 by cxlaterr Link to comment Share on other sites More sharing options...
cxlaterr Posted October 22, 2006 Author Share Posted October 22, 2006 up!!!!!!!!!!!!!! Link to comment Share on other sites More sharing options...
GaryFrost Posted October 22, 2006 Share Posted October 22, 2006 up!!!!!!!!!!!!!!would be "bump"look in the help for _GUICtrlListViewGetSelectedIndices and many other ListView Management Functions in the UDFs section of the help SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference. Link to comment Share on other sites More sharing options...
cxlaterr Posted October 22, 2006 Author Share Posted October 22, 2006 thks 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