Results 1 to 4 of 4
  1. #1
    ijaz8883 is offline Advanced Beginner
    Windows 10 Access 2016
    Join Date
    Jan 2019
    Posts
    83

    Change Select Color to any other color instead of Black


    Hi Experts
    I have prepared a Database by the help of this wonderful forum
    When I select the row its colored it Black I want to change it in Red/Blue/Yellow or any other color
    any possibility?

    Attached Thumbnails Attached Thumbnails Select Color.jpg  
    Attached Files Attached Files

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    49,442
    This is a multi-select listbox? The Selected colors are dictated by ForeColor and BackColor settings.
    For instance, BackColor of green and ForeColor of red, the bar will be purple and characters within the bar are blue. Here's an explanation I found:

    "The highlight color is handled by the Windows API. It takes the binary inverse of the back color. That's why you see black as the highlight for white, and vice versa. The ugly green is the inverse of 16777215. The only way to change the color of the highlight, is to change the back color.
    Somebody somewhere may have found a way to override the API, but I haven't seen it."
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    ijaz8883 is offline Advanced Beginner
    Windows 10 Access 2016
    Join Date
    Jan 2019
    Posts
    83
    Quote Originally Posted by June7 View Post
    This is a multi-select listbox? The Selected colors are dictated by ForeColor and BackColor settings.
    Yes You are right June7

    For instance, BackColor of green and ForeColor of red, the bar will be purple and characters within the bar are blue.
    Yes It may do with with the help of Back Color and Font Color in Format tab of property

    Somebody somewhere may have found a way to override the API, but I haven't seen it
    Sorry I am not Advance User so I understand that is not easy to done. So thanks a lot for your help.

    I have another Question same to this topic. And I am going to create new session

    Thanks a lot

  4. #4
    ijaz8883 is offline Advanced Beginner
    Windows 10 Access 2016
    Join Date
    Jan 2019
    Posts
    83
    Thanks in Advance

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

Similar Threads

  1. Replies: 3
    Last Post: 02-23-2019, 06:10 PM
  2. Change Text color and/or background color
    By Thompyt in forum Reports
    Replies: 2
    Last Post: 02-23-2017, 07:08 PM
  3. Change color
    By Lucas237 in forum Access
    Replies: 6
    Last Post: 07-30-2016, 04:01 PM
  4. change tab color or header color
    By witz07 in forum Access
    Replies: 6
    Last Post: 03-31-2016, 05:31 PM
  5. Text box change color
    By Ray67 in forum Forms
    Replies: 14
    Last Post: 11-19-2012, 04:06 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 - Senior Forums