Welcome to SPN

Register and Join the most happening forum of Sikh community & intellectuals from around the world.

Sign Up Now!

Mouse Pointer

Discussion in 'Information Technology' started by proficient@gmail.com, Jul 28, 2006.

Tags:
  1. proficient@gmail.com

    proficient@gmail.com
    Expand Collapse
    Guest

    I am in need of a desperate help. I am running ACCESS 2003, and would
    like the mouse pointer to change to a hand when it is rolled over a
    COMMAND BUTTON. Please help
     
  2. Loading...

    Similar Threads Forum Date
    Facebook, Twitter users beware: Crooks are a mouse click away Information Technology Oct 20, 2009
    Sikh News The cat and mouse game in Punjab (Indian Express via Yahoo! India News) Breaking News Sep 12, 2007

  3. unfortunately this probably won't be possible as the buttons in access do
    not have an OnMouseOver event the only way to get it to change to a hand is
    if you enter an address in the Hyperlink Address property of the button but
    the minute you click that it will open a browser.

    Of course there may be another way that someone else knwos of


    <proficient@gmail.com> wrote in message
    news:1147297571.096636.255220@q12g2000cwa.googlegroups.com...
    > I am in need of a desperate help. I am running ACCESS 2003, and would
    > like the mouse pointer to change to a hand when it is rolled over a
    > COMMAND BUTTON. Please help
    >
     
  4. Dirk Goldgar

    Dirk Goldgar
    Expand Collapse
    Guest

    "Gary Townsend (Spatial Mapping Ltd.)"
    <garytNADDASPAM@spatialmapping.com> wrote in message
    news:bkt8g.5732$zn1.425@clgrps13
    > unfortunately this probably won't be possible as the buttons in
    > access do not have an OnMouseOver event the only way to get it to
    > change to a hand is if you enter an address in the Hyperlink Address
    > property of the button but the minute you click that it will open a
    > browser.


    Command buttons do have a MouseMove event that can be used instead of a
    MouseOver event. See this link for code to set the mouse cursor:

    http://www.mvps.org/access/api/api0044.htm

    With that code installed in a standard module, all you need to do is set
    the command button's OnMouseMove property to:

    =MouseCursor(32649)

    Access will automatically set the mouse cursor back to the normal arrow
    when you move it off the control.

    --
    Dirk Goldgar, MS Access MVP
    www.datagnostics.com

    (please reply to the newsgroup)
     
  5. jetro=)

    jetro=)
    Expand Collapse
    Guest

    "proficient@gmail.com" wrote:

    > I am in need of a desperate help. I am running ACCESS 2003, and would
    > like the mouse pointer to change to a hand when it is rolled over a
    > COMMAND BUTTON. Please help
    >
    >


    You need to learn how to use ON MOUSE MOVE of Visual basic it is simple but
    cute! =)
     
  6. Thanks Dirk that's useful to know, and i stand corrected :)

    Gary Townsend
    Spatial Mapping Ltd.

    "Dirk Goldgar" <dg@NOdataSPAMgnostics.com> wrote in message
    news:eWpiTuLdGHA.3352@TK2MSFTNGP03.phx.gbl...
    > "Gary Townsend (Spatial Mapping Ltd.)"
    > <garytNADDASPAM@spatialmapping.com> wrote in message
    > news:bkt8g.5732$zn1.425@clgrps13
    > > unfortunately this probably won't be possible as the buttons in
    > > access do not have an OnMouseOver event the only way to get it to
    > > change to a hand is if you enter an address in the Hyperlink Address
    > > property of the button but the minute you click that it will open a
    > > browser.

    >
    > Command buttons do have a MouseMove event that can be used instead of a
    > MouseOver event. See this link for code to set the mouse cursor:
    >
    > http://www.mvps.org/access/api/api0044.htm
    >
    > With that code installed in a standard module, all you need to do is set
    > the command button's OnMouseMove property to:
    >
    > =MouseCursor(32649)
    >
    > Access will automatically set the mouse cursor back to the normal arrow
    > when you move it off the control.
    >
    > --
    > Dirk Goldgar, MS Access MVP
    > www.datagnostics.com
    >
    > (please reply to the newsgroup)
    >
    >
     

Share This Page