Prepare for your Next Interview
|
Welcome to the Geeks Talk forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. |
This is a discussion on toolstripmenuitem/can anybodyhelp me. plz within the VB.NET forums, part of the Software Development category; In my windows application, i've a toolstripmenuitem and and a mousehover event to display another dropdowntoolstrip loaded from the database. my problem is that i want the selected dropdownitem. i ...
|
|||||||
|
|||
|
In my windows application, i've a toolstripmenuitem and and a mousehover event to display another dropdowntoolstrip loaded from the database.
my problem is that i want the selected dropdownitem. i can get the owneritem but not d selected item.how could i get that perticular selected item................ my code is Private Sub MTToolStripMenuItem_DropDownItemClicked(ByVal sender As Object, ByVal e As System.Windows.Forms.ToolStripItemClickedEventArgs) Handles MTToolStripMenuItem.DropDownItemClicked Dim fileatstr As String = MTToolStripMenuItem.DropDown.OwnerItem.ToString 'Dim fwduser As String = MTToolStripMenuItem.DropDown. here i was struked. plz ...........anybody help me end sub Thanks in advance |
| Sponsored Links |
|
|||
|
Re: toolstripmenuitem/can anybodyhelp me. plz
To get the text of selected item you have to make use of ToolStripItemClickedEventArgs parameter,that is
e.ClickedItem.Text. This will gives you selected item text. |
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|