show hint for listbox?

ssfftt

Well-known member
Joined
Oct 27, 2005
Messages
163
Programming Experience
1-3
Is it possible to realize this: when mouse moves over and stays on a record within a listbox, hints shows up (contains the full text of the record)
 
i would suggest the following (although it might not be exactly what you are looking for).....

add a tooltip to the form...
then (and this may be where my idea is different from what you want)
in add the following line to the selectedIndexChanged for the listbox
--------------
Private Sub ListBox1_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ListBox1.SelectedIndexChanged

ToolTip1.SetToolTip(Me.ListBox1, ListBox1.SelectedItem)

End Sub

---------

So this will change the tooltip to the full text for the selected record
 
Back
Top