Connecting Tech Pros Worldwide Forums | Help | Site Map

Using On Mouse Over OR Mouse Move to display a description

meganrobertson22@hotmail.com
Guest
 
Posts: n/a
#1: Nov 13 '05
Hi-

I'd like to try to have text displayed when I move my mouse over a
command button.

For example: let's say I have a form with 3 different command buttons.
Each command button launches a different report.

For example:

cmd1: launches a report that retrieves a list of "All football teams."

cmd2: launches a report that retrieves all of "the football teams in
the AFL."

cmd3: launches a report that retrieves all of "the football teams in
the NFC."

What I'd like to be able to do is have a description appear when I run
my mouse over each command button. I know that this can be done using a
macro to display a message box using the MouseMove event on each
command button.

But...I'm wondering if you can have something similar to what Excel
does. That is, have a yellow (or any color) text box appear with text
in it whenever you move your mouse over a control.

For example:

When I move my mouse over the command button, cmd1, I'd like to display
a description saying, "This Report retrieves a list of all of the
Football teams in the NFL."

Thanks,

Megan


Rick Brandt
Guest
 
Posts: n/a
#2: Nov 13 '05

re: Using On Mouse Over OR Mouse Move to display a description


meganrobertson22@hotmail.com wrote:[color=blue]
> Hi-
>
> I'd like to try to have text displayed when I move my mouse over a
> command button.
>
> For example: let's say I have a form with 3 different command buttons.
> Each command button launches a different report.
>
> For example:
>
> cmd1: launches a report that retrieves a list of "All football teams."
>
> cmd2: launches a report that retrieves all of "the football teams in
> the AFL."
>
> cmd3: launches a report that retrieves all of "the football teams in
> the NFC."
>
> What I'd like to be able to do is have a description appear when I run
> my mouse over each command button. I know that this can be done using
> a macro to display a message box using the MouseMove event on each
> command button.
>
> But...I'm wondering if you can have something similar to what Excel
> does. That is, have a yellow (or any color) text box appear with text
> in it whenever you move your mouse over a control.
>
> For example:
>
> When I move my mouse over the command button, cmd1, I'd like to
> display a description saying, "This Report retrieves a list of all of
> the Football teams in the NFL."
>
> Thanks,
>
> Megan[/color]

Access form objects have a built-in ability for this. Just put the text you
want in the ControlTip property of the command button.

--
I don't check the Email account attached
to this message. Send instead to...
RBrandt at Hunter dot com


Salad
Guest
 
Posts: n/a
#3: Nov 13 '05

re: Using On Mouse Over OR Mouse Move to display a description


Rick Brandt wrote:
[color=blue]
> meganrobertson22@hotmail.com wrote:
>[color=green]
>>Hi-
>>
>>I'd like to try to have text displayed when I move my mouse over a
>>command button.
>>
>>For example: let's say I have a form with 3 different command buttons.
>>Each command button launches a different report.
>>
>>For example:
>>
>>cmd1: launches a report that retrieves a list of "All football teams."
>>
>>cmd2: launches a report that retrieves all of "the football teams in
>>the AFL."
>>
>>cmd3: launches a report that retrieves all of "the football teams in
>>the NFC."
>>
>>What I'd like to be able to do is have a description appear when I run
>>my mouse over each command button. I know that this can be done using
>>a macro to display a message box using the MouseMove event on each
>>command button.
>>
>>But...I'm wondering if you can have something similar to what Excel
>>does. That is, have a yellow (or any color) text box appear with text
>>in it whenever you move your mouse over a control.
>>
>>For example:
>>
>>When I move my mouse over the command button, cmd1, I'd like to
>>display a description saying, "This Report retrieves a list of all of
>>the Football teams in the NFL."
>>
>>Thanks,
>>
>>Megan[/color]
>
>
> Access form objects have a built-in ability for this. Just put the text you
> want in the ControlTip property of the command button.
>[/color]

Which may or may not work. Sometimes they work, oftentimes don't.
Closed Thread