Question Get value from DropDownButton

BugMan

Well-known member
Joined
Dec 27, 2010
Messages
52
Location
Tallahassee FL
Programming Experience
10+
Using VS 2010, there's a DropDownButton control where you click it and it pops down a list of options. I've looked and looked and can't figure out how to retrieve the value of the option that the user selects. Unlike the combo box, this button doesn't have a textbox. I've put the button onto a docked toolbar, I think I saw a post from JohnH that the toolbar needs to be undocked, is that true?

This should be easy! Can anybody help with example code?

thanks!
 
I see my error now, I was trying to trap the value of the item clicked from the Dropdownclosed event of the DropDownButton, instead of the Click event from the actual item in the list.
 
Back
Top