T
tobesurveyor via AccessMonster.com
Good day,
I am trying to populate a control with a new On_Click Event when the form
opens. The idea is when the form loads and based upon the role, determines
what control is present. When a user with a role 1 opens the form, I want
an image to load and the Mouse Move Event to be the sub MouseMe. When the
role is 0 then the image does not load and the Mouse Mouse Event is Null.
I can make the Mouse Move Event with the following: Me.lblLaunch01.
OnMouseMove = ""
I have tried doing the following: Me.lblLaunch01.OnMouseMove =
"EventProcedure" and also Me.lblLaunch01.OnMouseMove = "MouseMe", but it is
trying to load a macro, and my sub is in VBA.
What would be the proper coding to reference the MouseMove event with the sub
MouseMe?
Thanks for the help in advance,
Chris
I am trying to populate a control with a new On_Click Event when the form
opens. The idea is when the form loads and based upon the role, determines
what control is present. When a user with a role 1 opens the form, I want
an image to load and the Mouse Move Event to be the sub MouseMe. When the
role is 0 then the image does not load and the Mouse Mouse Event is Null.
I can make the Mouse Move Event with the following: Me.lblLaunch01.
OnMouseMove = ""
I have tried doing the following: Me.lblLaunch01.OnMouseMove =
"EventProcedure" and also Me.lblLaunch01.OnMouseMove = "MouseMe", but it is
trying to load a macro, and my sub is in VBA.
What would be the proper coding to reference the MouseMove event with the sub
MouseMe?
Thanks for the help in advance,
Chris