Results 1 to 5 of 5

Changing foreground/background color on an item in a list box

  1. #1
    S2000magician is offline Advanced Beginner
    Windows 10 Access 2016
    Join Date
    Jul 2019
    Posts
    31

    Changing foreground/background color on an item in a list box

    Is it possible to change the foreground color or background color on a specific item in a list box, without changing the overall color scheme?

    If so, how is it done?

    Thanks!

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    48,348
    This is been topic of numerous threads. AFAIK, cannot be done with standard Access listbox. Google the topic. Here is one https://social.technet.microsoft.com...istbox-control
    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
    GinaWhipp's Avatar
    GinaWhipp is offline Competent Performer
    Windows 7 64bit Access 2013 32bit
    Join Date
    Jul 2011
    Location
    Ohio, USA
    Posts
    357
    Not unless you use an ActiveX control as June7 pointed to OR you could use a continuous Form and make it look like a List Box and then you could change colors.
    Gina Whipp
    Microsoft MVP (Access 2010-2015)
    https://www.access-diva.com/tips.html

  4. #4
    isladogs's Avatar
    isladogs is offline Very idle programmer
    Windows 10 Access 2010 32bit
    Join Date
    Jan 2014
    Location
    Somerset, UK
    Posts
    3,821
    Yes it is possible to change the foreground colour to a limited extent. See http://www.mendipdatasystems.co.uk/a...our/4594424152
    Colin (Mendip Data Systems) : Website, email
    If this has helped, please click the star button and leave a comment

  5. #5
    S2000magician is offline Advanced Beginner
    Windows 10 Access 2016
    Join Date
    Jul 2019
    Posts
    31
    Oh, well.

    It was a thought.

    Thanks for saving me a lot of time and wasted effort.

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

Similar Threads

  1. changing background color on Focus
    By swenger in forum Forms
    Replies: 6
    Last Post: 09-25-2016, 09:55 AM
  2. Replies: 4
    Last Post: 08-29-2015, 07:38 AM
  3. Replies: 4
    Last Post: 10-23-2013, 07:56 AM
  4. Replies: 5
    Last Post: 08-26-2013, 01:26 PM
  5. Replies: 5
    Last Post: 06-28-2013, 06:11 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
  •  
Tech Forums: Microsoft Office Forums