Listbox
-
I add items to a listbox using a button and remove using another. How can I disable the remove button if there are no contents in the listbox
-
I add items to a listbox using a button and remove using another. How can I disable the remove button if there are no contents in the listbox
if listbox.items.count = 0 then me.removebutton.enabled = false end if
Please check out my articles: The ANZAC's articles
-
I add items to a listbox using a button and remove using another. How can I disable the remove button if there are no contents in the listbox
dexter9703 wrote:
I add items to a listbox using a button and remove using another. How can I disable the remove button if there are no contents in the listbox
Me.RemoveButton.Enabled = (Me.ListBox.Items.Count>0)