Jump to content

Recommended Posts

Posted (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 by cxlaterr

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
×
×
  • Create New...