zackrspv Posted April 16, 2008 Posted April 16, 2008 (edited) I know that when you create a list view item, you can do it like: $item1=GuiCtrlCreateListViewItem("item2|col22|col23",$listview) But, let's say that you don't specify a label for the listviewitem, because it's a dynamic listview that pulls from the database. Since the listview itself has say 8 records, but none of them have labels, how can i use GuiCtrlDelete to remoev one from the list? Edited April 16, 2008 by zackrspv -_-------__--_-_-____---_-_--_-__-__-_ ^^€ñ†®øÞÿ ë×阮§ wï†høµ† ƒë@®, wï†høµ† †ïmë, @ñd wï†høµ† @ †ïmïdï†ÿ ƒø® !ïƒë. €×阮 ñø†, bµ† ïñ§†ë@d wï†hïñ, ñ@ÿ, †h®øµghøµ† †hë ë§§ëñ§ë øƒ !ïƒë.
PsaltyDS Posted April 16, 2008 Posted April 16, 2008 I know that when you create a list view item, you can do it like: $item1=GuiCtrlCreateListViewItem("item2|col22|col23",$listview) But, let's say that you don't specify a label for the listviewitem, because it's a dynamic listview that pulls from the database. Since the listview itself has say 8 records, but none of them have labels, how can i use GuiCtrlDelete to remoev one from the list? I wouldn't. Learn the GuiListView.au3 UDF functions instead, find the item by index, and use _GUICtrlListView_DeleteItem(). Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law
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