Control Tips for buttons

G

Guest

Hi all,

My forms have the usual buttons, and i wish them to displat a mose over
control tip. I have types the ControTip Text as use the button to exit this
form. But when i mose over the button nothing happens, any ideas?

Dick
 
G

Guest

What did you type the text on?
usually this is done with the mouse move event in the
buttons property sheet and is generally used to display a
form with the text on it. The message form can have
multipy messages or text on it(all overlaping) with the
lable's (which contain the text) visible property set to no
(false). in the mouse move event, code would display the
message form and reset the visible property of a
perticular lable to yes(true). the message form would have
a close button.
 
G

Guest

hi again
here is code i use to change the back color of lable on my
switchboard.

Private Sub lblSell_MouseMove(Button As Integer, Shift As
Integer, X As Single, Y As Single)
Dim RBut As Integer, LBut As Integer
RBut = acRightButton
LBut = acLeftButton
If RBut >= 0 Or LBut >= 0 Then
Me.lblSell.BackStyle = 1
End If
end sub
in the if then statement, you can change to code that
displays your message.

End Sub
 
R

Rick Brandt

Hi all,

My forms have the usual buttons, and i wish them to displat a mose over
control tip. I have types the ControTip Text as use the button to exit this
form. But when i mose over the button nothing happens, any ideas?

This usually means your button is not "in the front". Even a transparent
rectangle placed around objects can inhibit their ControlTip text from
displaying. Select your button in design view and then hit the "Bring to
Front" button and see if that solves the problem.
 
G

Guest

OK, Maybe this will work, but i don't see a bring to front button, where is
it and how can i add it to my tool bar??
Merry Christmas

Dick
 
G

Guest

I am not sure what you mean. It's a property of the control, controltooltip.
Do i need to make an event to cause this to happen for each field in the
data base??
Thanks,

Dick

Happy new year
 
D

Dirk Goldgar

OK, Maybe this will work, but i don't see a bring to front button,
where is it and how can i add it to my tool bar??
Merry Christmas

I don't think the Bring to Front action has a button assigned to it by
default. But you should be able to click the menu item Format -> Bring
to Front to accomplish the same thing.
 
G

Guest

Well, Perhaps there's another reson. I have tried that and controltips still
do not apper when mous is over field?

Happy New Year,

Dick
 
D

Dirk Goldgar

Well, Perhaps there's another reson. I have tried that and
controltips still do not apper when mous is over field?

That's peculiar, if everything else is set up correctly. You've checked
to make sure the ControlTipText property is set, and the control has
been brought to the front?

If all of that checks out, and it still doesn't work, then ... if you'd
like to send me a cut-down copy of your database, containing only the
elements necessary to demonstrate the problem, compacted and then zipped
to less than 1MB in size (preferably much smaller) -- I'll have a look
at it, time permitting. Please be sure to remove everything except
what's needed to show the problem, before compacting and zipping. You
can send it to the address derived by removing NO SPAM from the reply
address of this message.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top