MOUSE OVER

  • Thread starter Thread starter Ray
  • Start date Start date
R

Ray

I would like to be able to mouse over and object to open
but when mouse is past the object it closes the window. I
can currently open the object with mouse move but cannot
find a way to close it.

Any information would be much appreciated.

Thanks,

Ray
 
OK!... NOw seeing as I am fairly new at Access... can you
be a little more specific in terms that I may be able to
understand?

Also is there a simple way to creat a pull down menu for
a search that contains the information from a feild
rather than the acces window?

Ray
 
The procedure probably looks like this:
Private Sub myControl_MouseMove(Button As Integer, Shift As Integer, X
As Single, Y As Single)
Dim objMyObject As Object
'Remaining implementation omitted
End Sub

You need to remove the "Dim objMyObject..." line from where it is, to the
very top of the code window, so it looks like this:
Option Compare Database
Option Explicit

Dim objMyObject As Object

You might also want to change the keyword "Dim" to "Private". Although the
"Dim" keyword is functionally equivalent to "Private", using "Private" makes
it just that little bit more readable.

Regards,
Graham R Seach
Microsoft Access MVP
Sydney, Australia

Microsoft Access 2003 VBA Programmer's Reference
http://www.wiley.com/WileyCDA/WileyTitle/productCd-0764559036.html
 
Back
Top