Listbox
-
How do I code the listbox select item to not change when the choice is incorrect. I'm doing a simulation of driving and the listbox has Park, Reverse, Drive and Neutral and you are not allowed to change gears when there is speed my code is allowing the change and I get the message box up twice how do I stop it from changing and only have the message box up once?
-
How do I code the listbox select item to not change when the choice is incorrect. I'm doing a simulation of driving and the listbox has Park, Reverse, Drive and Neutral and you are not allowed to change gears when there is speed my code is allowing the change and I get the message box up twice how do I stop it from changing and only have the message box up once?
You may disable the listbox:
ListBox1.Enabled=False
-
You may disable the listbox:
ListBox1.Enabled=False