Jump to content

Recommended Posts

Posted

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???

  • 4 weeks later...
Posted

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...

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

qq

Posted

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....

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...