I am using a Listview in my VB6 app. The third column of the Listview displays an employee id.
Is there a way to display the employee's name in the Tooltip when a user hovers over a cell in the employee id column?
The MouseMove event for the ListView returns the X-Y coords of the mouse. Use that info to calculate which cell you are in and set the ToolTipText as needed. The query that fills the listview will need to fetch the name when you fill the listview. I would put the name in a column with zero width
___________________________________________________________
If you want the best response to a question, please check out FAQ222-2244 first.
'If we're supposed to work in Hex, why have we only got A fingers?' Drive a Steam Roller Steam Engine Prints
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.