PDA

View Full Version : Solved: Events in macros



globetrot
09-14-2004, 09:54 PM
Hi All,

Im having a small problem with some Access code. I have setup an unbound form as a main menu in my database and what I am trying to do is create instructions in a label control that appear when you move your mouse over the main buttons on the menu. This is working correctly.

My problem is that I want the text to dissappear from the label control as soon as I move off the button.

I have done this before in VBA but can't remember and was wondering if it was possible to refer to an event in a macro so that when you move off the button the text dissappears from the label control.

Any ideas, if this doesnt make sense I will post more detail.

SJ McAbney
09-14-2004, 10:46 PM
Change the label's Visible property to False with the Detail_MouseOver event.

globetrot
09-20-2004, 02:58 AM
Sorry I dont follow what you mean by Detail_MouseOver event, I cant seem to find that in the object browser.

SJ McAbney
09-20-2004, 04:17 AM
Click on the background of a form - not any of the controls. That's the Detail.

globetrot
09-20-2004, 04:27 AM
Im aware what the detail section of the form is, what I am saying is there is no MouseOver event only MouseMove which I have already tried and gives an error

SJ McAbney
09-20-2004, 07:09 AM
MouseMove is fine.
What have you tried?