Delete item from dropdown list

Delete item from dropdown list

petecmartin
Advocate Advocate
656 Views
1 Reply
Message 1 of 2

Delete item from dropdown list

petecmartin
Advocate
Advocate

Hi folks,

 

I'm clearly being incredibly thick!

 

Basically, I have a dropdown list populated by items from a list of namespaces ('Test1:', 'Test2:').

I have a button which then allows me to delete the items from the dropdown list.

Something like DDList.Items.remove ('Test1:').

I can't for the life of me get that to reflect in the dropdown list!  

Am i going about this wrong?  My method seems to delete everything from the dropdown list.

 

Cheers. 

0 Likes
Accepted solutions (1)
657 Views
1 Reply
Reply (1)
Message 2 of 2

petecmartin
Advocate
Advocate
Accepted solution

Figured it out myself, again.  I wasn't setting the item index of the list after deleting the item, so it wasn't displaying anything.

 

Go me! 

0 Likes