Hi friends,
Can any of you tell me how to set a tool tip for the combo items at runtime (while scrolling thru the list). I have populated my combo with a data table now as the text that is to displayed is too long so I need to display the currently highlighted text in list in a tool tip. Also, in my case when I write controlname.selectedtext, however the text is being displayed, the value is blank but the controlname.selectedvalue is coming. How to get the this displayed text while you are scrolling thru the list.
I know that Tool tip is a different class in dot net & it can be set like this :
Friend WithEvents ToolTip1 As System.Windows.Forms.ToolTip
ToolTip1.SetToolTip(intSectorRouteID, "Choose the route.")
AddHandler intSectorRouteID.SelectedIndexChanged, New System.EventHandler(AddressOf intSectorRouteID_SelectedIndexChanged)
But my problem is how to do this in above scenario.
Thanks,
Anurag
anuragv06@indiatimes.com
Can any of you tell me how to set a tool tip for the combo items at runtime (while scrolling thru the list). I have populated my combo with a data table now as the text that is to displayed is too long so I need to display the currently highlighted text in list in a tool tip. Also, in my case when I write controlname.selectedtext, however the text is being displayed, the value is blank but the controlname.selectedvalue is coming. How to get the this displayed text while you are scrolling thru the list.
I know that Tool tip is a different class in dot net & it can be set like this :
Friend WithEvents ToolTip1 As System.Windows.Forms.ToolTip
ToolTip1.SetToolTip(intSectorRouteID, "Choose the route.")
AddHandler intSectorRouteID.SelectedIndexChanged, New System.EventHandler(AddressOf intSectorRouteID_SelectedIndexChanged)
But my problem is how to do this in above scenario.
Thanks,
Anurag
anuragv06@indiatimes.com