Results 1 to 11 of 11
  1. #1
    Emmanuel is offline Competent Performer
    Windows 11 Access 2016
    Join Date
    Jan 2020
    Posts
    272

    Picture on buttons flickering


    I am creating this database with pictures on buttons. But the button flickers when I move the mouse over them. Is there a fix to this?

  2. #2
    isladogs's Avatar
    isladogs is offline MVP / VIP
    Windows 10 Office 365
    Join Date
    Jan 2014
    Location
    Somerset, UK
    Posts
    5,977
    Is this just the button changing its appearance to/from the hover color/hover forecolor? If so make them the same as the standard color...or disable themes
    Colin, Access MVP, Website, email
    The more I learn, the more I know I don't know. When I don't know, I keep quiet!
    If I don't know that I don't know, I don't know whether to answer

  3. #3
    Emmanuel is offline Competent Performer
    Windows 11 Access 2016
    Join Date
    Jan 2020
    Posts
    272
    Attachment 51074

    This is a sample database to demonstrate my issue.
    When the mouse is moved from one image to the other, it flickers
    Attached Files Attached Files

  4. #4
    CJ_London is online now VIP
    Windows 10 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,430
    perhaps use an image control instead?

    Or you can change the backstyle property from normal to transparent - but you will still get flicker when clicking

  5. #5
    Emmanuel is offline Competent Performer
    Windows 11 Access 2016
    Join Date
    Jan 2020
    Posts
    272
    Quote Originally Posted by CJ_London View Post
    perhaps use an image control instead?
    The pictures are also buttons to open another form. So i dont think the image control will work

  6. #6
    moke123's Avatar
    moke123 is offline Me.Dirty=True
    Windows 11 Office 365
    Join Date
    Oct 2012
    Location
    Ma.
    Posts
    1,654
    The pictures are also buttons to open another form. So i dont think the image control will work
    They'll work. An image control has a click event.
    If this helped, please click the star * at the bottom left and add to my reputation- Thanks

  7. #7
    Emmanuel is offline Competent Performer
    Windows 11 Access 2016
    Join Date
    Jan 2020
    Posts
    272
    Quote Originally Posted by moke123 View Post
    They'll work. An image control has a click event.
    Great. Let me give it a try and get back to you guys.

    And I will like to know if an existing button like the one I have here can be converted into an image control.

    Because I had created a lot of the buttons already before i noticed this issue.

    So i don't have to start the whole thing afresh

  8. #8
    moke123's Avatar
    moke123 is offline Me.Dirty=True
    Windows 11 Office 365
    Join Date
    Oct 2012
    Location
    Ma.
    Posts
    1,654
    Here's a quick example. Don't pay any attention to the images. They just happened to be in a handy folder.

    The top row is just images in an image control. The click event is a message box but you can put anything.

    The lower image uses transparent buttons over a single image. There is a slight flicker only on the keypress but it actually acts as a visual confirmation that it's been clicked.

    edit: I'm also loading the images from a folder which helps reduce bloat in your database.
    Attached Files Attached Files
    If this helped, please click the star * at the bottom left and add to my reputation- Thanks

  9. #9
    Emmanuel is offline Competent Performer
    Windows 11 Access 2016
    Join Date
    Jan 2020
    Posts
    272
    Quote Originally Posted by moke123 View Post
    Here's a quick example. Don't pay any attention to the images. They just happened to be in a handy folder.

    The top row is just images in an image control. The click event is a message box but you can put anything.

    The lower image uses transparent buttons over a single image. There is a slight flicker only on the keypress but it actually acts as a visual confirmation that it's been clicked.

    edit: I'm also loading the images from a folder which helps reduce bloat in your database.
    Great. Let me check on it and get back to you. Thank you

  10. #10
    Emmanuel is offline Competent Performer
    Windows 11 Access 2016
    Join Date
    Jan 2020
    Posts
    272
    Quote Originally Posted by moke123 View Post
    Here's a quick example. Don't pay any attention to the images. They just happened to be in a handy folder.

    The top row is just images in an image control. The click event is a message box but you can put anything.

    The lower image uses transparent buttons over a single image. There is a slight flicker only on the keypress but it actually acts as a visual confirmation that it's been clicked.

    edit: I'm also loading the images from a folder which helps reduce bloat in your database.
    I studied your sample database here and tried to apply it to my work and the results were amazing. Thank you for your efforts.

  11. #11
    Emmanuel is offline Competent Performer
    Windows 11 Access 2016
    Join Date
    Jan 2020
    Posts
    272
    And thanks to all members who took time to assist in one way or the other.

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

Similar Threads

  1. Replies: 14
    Last Post: 06-25-2020, 08:42 AM
  2. Open DB without flickering
    By Lukael in forum Programming
    Replies: 12
    Last Post: 05-26-2016, 01:41 AM
  3. Screen Flickering?
    By EchoEleven in forum Forms
    Replies: 12
    Last Post: 04-22-2016, 06:04 PM
  4. On Mouse Move, Flickering
    By 95DSM in forum Programming
    Replies: 1
    Last Post: 01-04-2011, 08:35 AM
  5. Replies: 0
    Last Post: 12-12-2009, 04:45 PM

Tags for this Thread

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