Results 1 to 3 of 3
  1. #1
    taimysho0 is offline Competent Performer
    Windows XP Access 2000
    Join Date
    Nov 2011
    Posts
    286

    Mouse Hover Feature in Access 2010???


    Hello, i was wondering if there is a mouse hover feature in access since I dont see it in the list of properties?? is there a way to hard code it in?

    what im trying to do:

    I have a listbox that spits out results of a query. When a user hovers over a row from the listbox, i want it to POP OUT and enlarge so the user can see the whole row. is this possible?

    if not mouse over, how would i achieve this on double click? I looked into coding the event with a zoombox, which in theory would achieve what i need, however when i tried it i got an error message saying zoombox doesnt work with the listbox.

    I cannot format or change the listbox into another medium (textbox, subform, etc). it must stay as a listbox but my users need me to enlarge the data that they see in the row. thanks!

  2. #2
    help_me_with_access is offline help_me_with_excel
    Windows XP Access 2007
    Join Date
    Jun 2012
    Posts
    262
    visual basic doesn't have a hover event behind forms. your wish probably isn't possible. i don't think you can use the tooltip property for listboxes via each row. that's for actual controls. but check anyway.

    i'm guessing the best idea here would be to use the OnChange() event of the box to display something custom. try another control on the same form? how about splitting all the information up and creating a redundant control that uses line feeds or carriage returns to give you more room for data display. Listboxes are not to be used to display data.

  3. #3
    cvandriest is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Jul 2012
    Location
    Utrecht, the Netherlands
    Posts
    1
    Every object on a form has an event 'On Mouse Move' This event is triggered each time you move the mouse over an object. So, if you have a button and you want for instance change the color you can do this to set the code buttonname.ForeColor = 255 (red) in the On Mouse Move event of the button. To reset it set in the On Mouse Move event of the form the code buttonname.ForeColor = 1.
    The only problem in your case is how to figure out on which row the cursor is hovering above but that is a challenge :-).
    Watch out that you don't put in code that takes a long time to finish, because every pixel you move the event is triggered.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. one to one annomly or built in feature of access?
    By bbrazeau in forum Programming
    Replies: 4
    Last Post: 01-10-2012, 03:06 PM
  2. Flyoutbox on hover in Access?
    By mrfixit1170 in forum Programming
    Replies: 2
    Last Post: 10-06-2011, 07:19 AM
  3. Creating a mouse hover event
    By Coffee in forum Forms
    Replies: 1
    Last Post: 07-17-2011, 11:25 PM
  4. Replies: 3
    Last Post: 04-13-2011, 10:23 AM
  5. Fieldset and Legend feature in Access?
    By ibmichael in forum Forms
    Replies: 1
    Last Post: 10-28-2010, 03:15 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums