A Picture showing name

ser004

Registered User.
Local time
, 23:27
Joined
Feb 2, 2008
Messages
16
Hi all,

In my Hockey DB, I have a picture for each players. What I like to accomplish is when the cursor is on the picture - I would like it to show the player name for that record - just like it show on different icon.. when you rest the mouse (cursor) on an Icon it show something like... Insert Image, etc...

How this is done... Thanks...
 
Interesting idea.

I just tried this in a quick sample db attached. It is not the right way of doing it, but just to play with the idea.
 

Attachments

Thanks ezfriend for a quick reply,

Your approach is interesting by opening another popup form - however what I want to accomplish should be easy, but I cannot figure out how...

What I like to see is the player name when the cursor rest on top of the picture. I have a field call PlayerName (Example: Lemieux, Mario) and what I would like to see is when the cursor rest on the picture it would display: Mario Lemieux

Any suggestions???
 
How about chaning the ControlTipText property to whatever you want to see?

Code:
Private Sub Image0_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)

    Image0.ControlTipText = "This is a test of showing the text" & vbCrLf & _
                            "over an image when the mouse is over the image." & vbCrLf & vbCrLf & _
                            "Cheer!"
End Sub
 
Thanks ezfriend for your suggestions.

The controlTipText will worked fine, if each record will have the same description. What I wish to accomplished thought is to have the PlayerName field displayed for each player pictures...

I don't think this can be done... Thanks again...
 
Thanks ezfriend.. Got it now!!!

Working fine - I inserted by PlayerName field after the ControlTipText= [PlayerName] from your example and it worked... I was a little too quick in my previous reply - I taught that ControlTipText only accepted unique text....

Thanks...works great...
 

Users who are viewing this thread

Back
Top Bottom