Jump to content
Sign in to follow this  
horphi

Get selected row from List view by mouse

Recommended Posts

horphi

Hello,

i try to get the selected row inside the list displayed in the MSGBx.

But it shows only 0.

Can you help me?

Func Grab_EntryIDfromArray()
; Get item from array
    Local $aItem = _GUICtrlListView_GetSelectedColumn($idListview1) ;$idListview1 comes as array from another Func
 ; this 
 MsgBox(1,'',$aItem)

Br

Horphi

Share this post


Link to post
Share on other sites
jguinch

i try to get the selected row inside the list displayed in the MSGBx.

_GUICtrlListView_GetSelectedColumn returns the select column, not now.

Have a look to _GUICtrlListView_GetSelectedIndices
 

  • Like 1

Share this post


Link to post
Share on other sites
horphi

 

Edited by horphi
Delete, not more necessary

Share this post


Link to post
Share on other sites

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
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.