Results 1 to 5 of 5
  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 offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,815
    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
    377
    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.

  4. #4
    isladogs's Avatar
    isladogs is offline MVP / VIP
    Windows 10 Access 2010 32bit
    Join Date
    Jan 2014
    Location
    Somerset, UK
    Posts
    5,954
    Yes it is possible to change the foreground colour to a limited extent. See http://www.mendipdatasystems.co.uk/a...our/4594424152
    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

  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
  •  
Other Forums: Microsoft Office Forums