Buttons
Visual Basic
3
Posts
3
Posters
0
Views
1
Watching
-
When a form loads, a button is disabled. How can I get the button enabled after selecting an item in a combo box?
perhaps by adding some code based on an event that fires when a selection is changed, and a property that enables a Control. :)
Luc Pattyn [Forum Guidelines] [My Articles]
Happy 2008!
-
When a form loads, a button is disabled. How can I get the button enabled after selecting an item in a combo box?
on the selected item changed event: If the selecteditem is equal to what you specify then perform your action. i.e.
If combobox1.selecteditem = "example" then textbox1.enabled = true end if
Please check out my articles: The ANZAC's articles