Listitem ControlTip

dooda

New member
Local time
Today, 21:48
Joined
Dec 13, 2004
Messages
8
Hi all,

I'm having a problem with the controltip of listbox. What I'm saying is I have items in my list and I want the ControlTip to show whenever I move mouse over the item. I dunno if this can be possible. Please help... :mad: Does anybody have any idea that this can be solved?
 
dooda,

The ControlTip is for the ListBox itself. It is not based on a particular row
that you hover over. You can programmatically change the Tip, but Access
will never "tell" you which item you are hovering over.

As far as I know, Access can't do this.

Wayne
 
Displaying Context Specific ControlTip

Hi Dooda,
Wayne's right about the ListBox but if you substitute it for a ListView control (available in the extra list as Microsoft ListView 6.0) then you can hook an event on the

MouseMove(Button as Integer, Shift as Integer, x as single, y as single)

event which then calls the HitTest(x,y) function. This HitTest returns which item is at the coordinates and you can then change your control tip. However, I can't make the MouseMove event work, hence my post earlier on the MouseUp event.

When there is an answer to that, you can use this approach instead.

Hope that helps.
Dave
 

Users who are viewing this thread

Back
Top Bottom