Display a bmp when you mouse over a control

H

Harry

Is it possible to have a .bmp display when you mouse over a control?
I have saved the help screens from another application to seperate files and
would like to display them when you mouse over a control. This would be
exactly like every control on this page. For example, when you mouse over the
GO button this message appears "Click to search".
 
H

Harry

I am using Access 2003 and wish to add this to a form.
Thank you in advance for your help.
 
T

Tom Ventouris

Ther are probably other ways to do this, but here's one:

Place the bmp on the form and set the Visible property to NO.
On the MouseOver event of the GO Button:
Me![MyBmp].Visible = True

Place rectangle around the Go Button.
On the MouseOver event of the rectangle:
Me![MyBmp].Visible = True

This will hide the BMp as you move away from the Go button.

Alternatively you can use a Toggle Button with the same code as above to
hide or show the BMP.
 
T

Tom Ventouris

Correction:

Place rectangle around the Go Button.
Ther are probably other ways to do this, but here's one:

Place the bmp on the form and set the Visible property to NO.
On the MouseOver event of the GO Button:
Me![MyBmp].Visible = True

Place rectangle around the Go Button.
On the MouseOver event of the rectangle:
Me![MyBmp].Visible = True

This will hide the BMp as you move away from the Go button.

Alternatively you can use a Toggle Button with the same code as above to
hide or show the BMP.

Harry said:
I am using Access 2003 and wish to add this to a form.
Thank you in advance for your help.
 
Top