spiderblues Posted April 14, 2005 Posted April 14, 2005 o.k. I found a way to edit the selected item, but I guess, there are better ways to do that: Case $msg = $btn_save $data1 = GUICtrlRead($inp_lv_1) $data2 = GUICtrlRead($inp_lv_2) $data3 = GUICtrlRead($inp_lv_3) $data4 = GUICtrlRead($inp_lv_4) $data5 = GUICtrlRead($inp_lv_5) $ItemCount = ControlListView($pgm_name,"",$listview, "GetItemCount") For $i = 0 To $ItemCount -1 If ControlListView($pgm_name, "", $listview, "IsSelected", $i) Then GUICtrlSetData($item_count[$i],$data1 & "|" & $data2 & "|" & $data3 & "|" & $data4 & "|" & $data5,) exitLoop $i = $i - 1 Endif Next But I still need to read the selected item. Should I move this question to the support forum???
busysignal Posted May 11, 2005 Posted May 11, 2005 Where can I get the lastest ListViewUDFs.au3? It seems I have either an old one or something is missing. Tried running the code but got and error on _SortListView function.. Thanks...
buzz44 Posted May 11, 2005 Posted May 11, 2005 (edited) I think your referring to GuiListView.au3? If so download the latest BETA (3.1.1.27) from here... and type "_GUICtrlListView" in the help file. Edited May 11, 2005 by Burrup qq
busysignal Posted May 13, 2005 Posted May 13, 2005 I think your referring to GuiListView.au3? If so download the latest BETA (3.1.1.27) from here... and type "_GUICtrlListView" in the help file.<{POST_SNAPBACK}>I will DL it and try it again..thx....
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