Quantcast
Channel: AutoIt v3 - General Help and Support
Viewing all articles
Browse latest Browse all 12506

Can Mouse Select Row in ListBox and Delete?

$
0
0

Hi,

 

Googled and searched - apologize if this had been asked before.

 

Say we create a list box: $mylist = GUICtrlCreateList(....), we then populate the list box with a few rows. It's well documented and easy to clear the entire list. But the action I'm looking for is:  the user selects a row(s) ...ie a row gets highlighted (a mouse click eg. does that right now). Is there a way to delete just that row? Either a button or a mouse right click-> delete?

 

Is is possible to select multiple rows and do the same?

 

I don't want to allow edits a row's text (that's why I thought to use a List Box), but I need added rows to be deletable and of course I assume the List Box's "internal array" would be updated/refreshed to reflect adds and deletes...

 

Thanks


Viewing all articles
Browse latest Browse all 12506

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>