How to get the selected ToolStripeItem
-
Hi all, I was creating a ToolStripe with a few Buttons. I was creating a SplitButton. This Button has Items. i.e: Start Program 1 Start Program 2 Start Program 3 How can I get the select Text of the items ? My sample returns only the name of the split button :( MessageBox.Show("ITEM: " + item.Name + " " + ButtonBenutzerAuswahl.Selected.ToString());
-
Hi all, I was creating a ToolStripe with a few Buttons. I was creating a SplitButton. This Button has Items. i.e: Start Program 1 Start Program 2 Start Program 3 How can I get the select Text of the items ? My sample returns only the name of the split button :( MessageBox.Show("ITEM: " + item.Name + " " + ButtonBenutzerAuswahl.Selected.ToString());
Have you tried the item's Text property?
Dave
BTW, in software, hope and pray is not a viable strategy. (Luc Pattyn)
Visual Basic is not used by normal people so we're not covering it here. (Uncyclopedia)
Why are you using VB6? Do you hate yourself? (Christian Graus) -
Have you tried the item's Text property?
Dave
BTW, in software, hope and pray is not a viable strategy. (Luc Pattyn)
Visual Basic is not used by normal people so we're not covering it here. (Uncyclopedia)
Why are you using VB6? Do you hate yourself? (Christian Graus) -
What type of items are you adding to your split button, and what value so you expect or want to get from them?
Dave
BTW, in software, hope and pray is not a viable strategy. (Luc Pattyn)
Visual Basic is not used by normal people so we're not covering it here. (Uncyclopedia)
Why are you using VB6? Do you hate yourself? (Christian Graus)