How do I setup a button click to remove only null contents from a listbox and keep the listbox populated.
Example:
Work Files here Armor
Result (on_button_click,changes listbox):
Work Files here Armor
Any help always appricated.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You need to loop backwards through the items in the ListBox and remove the items that you don’t like.
For example:
The loop needs to be backwards because otherwise, all of the upcoming indices will move down.