When hover my mouse , I want a pop-up tip box

  • Thread starter Thread starter ali
  • Start date Start date
A

ali

When i move my mouse over a button, i'd like it to pop-up a help box.

Thanks a lot , experts !
 
ali said:
When i move my mouse over a button, i'd like it to pop-up a help box.

Thanks a lot , experts !


The command button, like most controls, has a ControlTipText property that
is intended to be used for this sort of thing. You'll find it on the Other
tab of the control's property sheet.
 
Dear Dirk,

Big thanks first !, it works ! I have one more question.

If i want the tip to show immediately (or less than 0.5 second) when i hover
the mouse over the button. Where / how can i set the time ?

Big thanks in advance again!
 
You can't! It does what it does! My guess would be that speed is dependent on
your system and current system usage. And to be honest, in my experience, the
ControlTip property is somewhat fickle, sometimes showing up right away,
sometimes being delayed, sometimes requiring moving over the control multiple
times. Instead, I usually place a textbox at the bottom of my screens, format
it as Bold and Centered and in a color that commands attention, and using
each control's GotFocus event, set the text explaining the proper
input/format to be used for the particular control.

Linq

--
There's ALWAYS more than one way to skin a cat!

Answers/posts based on Access 2000/2003

Message posted via AccessMonster.com
 
ali said:
If i want the tip to show immediately (or less than 0.5 second) when i
hover
the mouse over the button. Where / how can i set the time ?


That's a system-wide setting, probably adjustable through the registry. You
can't set it just for your application (unless you're prepared to set it and
then reset it, and want to trust that your application will never fail in
between), and you shouldn't change it for anyone else besides yourself,
because that would be ill-mannered behavior for an application.

You could use a control's GotFocus event, as Linq Adams suggests, or its
MouseMove event, to set some text in another control. You could even have a
"help" popup form that remains open beside the form and displays the
appropriate information for the currently focused or "moused-over" control.
 
See:
http://www.lebans.com/tooltip.htm
A97ToolTip.zip is a database containing a custom ToolTip class for use in
A97 or higher.

A2KToolTip.zip is a database containing both an API and Form based ToolTip
solutions. The Form based solution can be used for forms in DataSheet view.

Enhanced features include:

Selectable delay times for Toolltip to first appear
Selectable delay times for Tooltip to dissappear
Selectable Text Color
Selectable Background Color
Selectable Margins
Specify Tooltip size
Add a title to the Tooltip in Bold
Selectable Icon for the Tooltip
ToolTips for Lines, Boxes, any rectangular area on your Form


--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
 
Stephen Lebans said:
See:
http://www.lebans.com/tooltip.htm
A97ToolTip.zip is a database containing a custom ToolTip class for use in
A97 or higher.

A2KToolTip.zip is a database containing both an API and Form based ToolTip
solutions. The Form based solution can be used for forms in DataSheet
view.

Enhanced features include:

Selectable delay times for Toolltip to first appear
Selectable delay times for Tooltip to dissappear
Selectable Text Color
Selectable Background Color
Selectable Margins
Specify Tooltip size
Add a title to the Tooltip in Bold
Selectable Icon for the Tooltip
ToolTips for Lines, Boxes, any rectangular area on your Form


I should have thought of your solution in the first place, Stephen.
 
Hi, does this only work in datasheet view? I have a continuous form that
needs this... I want to display further detail from a foreign table when the
user hover over a code. I've tried your continuous form example and got this
working, but I then tried to follow that up with a dlookup displaying the
info in unbound text boxes in footer of form but I can't get this working.

Thanks in advance for any help.
Sue
 
Back
Top