469,271 Members | 997 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,271 developers. It's quick & easy.

controltip text not working :-(

I tried to put some text into the controltip text of the properties of
a command button. I tested it out and nothing happened. I have the
status bar text, but I want the text tip that hovers when I mouse over.

I looked all over and found stuff on putting it in code. Not what I
wanted, because I thought you could just put it in the controltip text
property. I tried it out anyway and that doesn't do anything either.

I put this code on a combo, tested it out and the combo flickered a
little. That was it. Can anyone please help?

Thanks.

Code:
Private Sub cmdFind_MouseMove(Button As Integer, Shift As Integer, X As
Single, Y As Single)
On Error GoTo Err_cmdFind_MouseMove

Me.cmdFind.ControlTipText = "Find a Candidate Record"

Exit_cmdFind_MouseMove:
Exit Sub

Err_cmdFind_MouseMove:
MsgBox Err.Description
Resume Exit_cmdFind_MouseMove
End Sub

Nov 13 '05 #1
7 8928
Rog
Control tip text may not display if you have an object in front of your
button (e.g. a rectangle). Could that be the case?

Nov 13 '05 #2
The control tip text is what displays automatically when you move the mouse
over a control. You should not have to handle the Mouse Move event, and set
the control tip property there, just set it in design mode, and forget it. It
may in fact be that trying to change the control tip while the mouse is over
the control is the problem.

Also, control tips don't seem to work in subforms in Access 2002.

On 26 Jan 2005 08:18:49 -0800, "misscrf" <mi*****@yahoo.com> wrote:
I tried to put some text into the controltip text of the properties of
a command button. I tested it out and nothing happened. I have the
status bar text, but I want the text tip that hovers when I mouse over.

I looked all over and found stuff on putting it in code. Not what I
wanted, because I thought you could just put it in the controltip text
property. I tried it out anyway and that doesn't do anything either.

I put this code on a combo, tested it out and the combo flickered a
little. That was it. Can anyone please help?

Thanks.

Code:
Private Sub cmdFind_MouseMove(Button As Integer, Shift As Integer, X As
Single, Y As Single)
On Error GoTo Err_cmdFind_MouseMove

Me.cmdFind.ControlTipText = "Find a Candidate Record"

Exit_cmdFind_MouseMove:
Exit Sub

Err_cmdFind_MouseMove:
MsgBox Err.Description
Resume Exit_cmdFind_MouseMove
End Sub


Nov 13 '05 #3
Not that I see. I have this in place ( the controltip text in the
properties) for 4 different combo boxes...

misscrf

It is never too late to become what you could have been ~ George Eliot

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 13 '05 #4

ps that not that I see is for the rectangles. Anyway, these are on the
main form. I took out the code, so that isnt stopping the control text.
I don't understand why it doesn't work. Is there something special that
you have to do to make controltip text appear?
lol
Thanks.
misscrf

It is never too late to become what you could have been ~ George Eliot

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 13 '05 #5
Steve Jorgensen wrote:
The control tip text is what displays automatically when you move the mouse
over a control. You should not have to handle the Mouse Move event, and set
the control tip property there, just set it in design mode, and forget it. It
may in fact be that trying to change the control tip while the mouse is over
the control is the problem.

Also, control tips don't seem to work in subforms in Access 2002.


A97 and WinXP. I may have tool tips when I first enter the app but
after a bit they simply are ignored.
Nov 13 '05 #6
On Wed, 26 Jan 2005 18:49:41 GMT, Salad <oi*@vinegar.com> wrote:
Steve Jorgensen wrote:
The control tip text is what displays automatically when you move the mouse
over a control. You should not have to handle the Mouse Move event, and set
the control tip property there, just set it in design mode, and forget it. It
may in fact be that trying to change the control tip while the mouse is over
the control is the problem.

Also, control tips don't seem to work in subforms in Access 2002.


A97 and WinXP. I may have tool tips when I first enter the app but
after a bit they simply are ignored.


Come to think of it, I have seen that in A97 and WXP. I forgot that's why I
stopped trying to use control tips in the A97 app I just finished.
Nov 13 '05 #7
yeah, that seems to be the problem. I don't have them in the subform,
and I took the event code out. I had tried that after the design
property setting wasn't working, as a way to work around it.

I even went to tool options, and changed the default to 2002 instead of
2000. then I converted the db to 2002. The 2000 and the 2002 seem to
be ignoring the tip text, so I will have to give up. I have other
issues that I need to address now. Thanks for trying to help!
misscrf

It is never too late to become what you could have been ~ George Eliot

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 13 '05 #8

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Wayne Aprato | last post: by
4 posts views Thread by DeanL | last post: by
reply views Thread by Tom | last post: by
2 posts views Thread by woodglass | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by suresh191 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.