Get value of splitbutton item

gkiril

Newcomer
Joined
Feb 15, 2004
Messages
21
Hello,

I can obtain the value/text of a splitbutton dropdown menu item by:

toolstripbutton1.dropdownitems(0).text

Can someone help me obtain the value of the menu item a user has clicked at the time the user clicks it. A simple example would be to populate a textbox with the value/text or to assign the value to a variable. For some reason, this control appears to not use the same method as a standard dropdown.

Using VS 2005 and VB .net.

Thanks as always.

-gk
 
Back
Top