Professional UI Solutions
Site Map   /  Register
 
 

Forum

Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Elegant Ribbon Tech Support » Listbox (delet selected item) Collapse All
Subject Author Date
Milan Hudec Jun 17, 2019 - 2:10 PM

Why is this code generate Error?

With lstFiles
If Not .SelectedItemIndex = -1 Then
.Items.RemoveAt(.SelectedItemIndex)
End If
End With

When I used it with Msgbox(SelectedItemIndex), code give me the interg value
of the selected item bud I can’t remove the item from the list?

is there some code examples for all elegant ribbon control?

Thankx a lot


Milan