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

  • Follow


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

Thanks a lot , experts !
-- 
Allen Phailat Wongakanit
0
Reply Utf 1/11/2008 4:58:22 AM

"ali" <ali@discussions.microsoft.com> wrote in message 
news:3D4D48C7-6591-4D33-82BA-01E43AE98BA9@microsoft.com...
> When i move my mouse over a button, i'd like it to pop-up a help box.
>
> Thanks a lot , experts !
> -- 
> Allen Phailat Wongakanit


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.

-- 
Dirk Goldgar, MS Access MVP
www.datagnostics.com

(please reply to the newsgroup)

0
Reply Dirk 1/11/2008 5:02:08 AM


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! 


-- 
Allen Phailat Wongakanit


"Dirk Goldgar" wrote:

> "ali" <ali@discussions.microsoft.com> wrote in message 
> news:3D4D48C7-6591-4D33-82BA-01E43AE98BA9@microsoft.com...
> > When i move my mouse over a button, i'd like it to pop-up a help box.
> >
> > Thanks a lot , experts !
> > -- 
> > Allen Phailat Wongakanit
> 
> 
> 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.
> 
> -- 
> Dirk Goldgar, MS Access MVP
> www.datagnostics.com
> 
> (please reply to the newsgroup)
> 
0
Reply Utf 1/11/2008 5:13:42 AM

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
http://www.accessmonster.com/Uwe/Forums.aspx/access-forms/200801/1

0
Reply Linq 1/11/2008 2:21:43 PM

"ali" <ali@discussions.microsoft.com> wrote in message 
news:AFB7064E-B1BB-4EBC-B35E-3DC65C9B0F84@microsoft.com...
>
> 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.

-- 
Dirk Goldgar, MS Access MVP
www.datagnostics.com

(please reply to the newsgroup)

0
Reply Dirk 1/11/2008 3:33:03 PM

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.


"ali" <ali@discussions.microsoft.com> wrote in message 
news:3D4D48C7-6591-4D33-82BA-01E43AE98BA9@microsoft.com...
> When i move my mouse over a button, i'd like it to pop-up a help box.
>
> Thanks a lot , experts !
> -- 
> Allen Phailat Wongakanit 


0
Reply Stephen 1/11/2008 7:09:21 PM

"Stephen Lebans" <ForEmailGotoMy.WebSite.-WWWdotlebansdot...@linvalid.com> 
wrote in message news:OKr4pVIVIHA.3452@TK2MSFTNGP03.phx.gbl...
> 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.

-- 
Dirk Goldgar, MS Access MVP
www.datagnostics.com

(please reply to the newsgroup)

0
Reply Dirk 1/11/2008 8:07:53 PM

6 Replies
1146 Views

(page loaded in 0.104 seconds)

Similiar Articles:
















7/23/2012 3:11:46 PM


Reply: