General discussion

  • Creator
    Topic
  • #2188585

    MS Access ListBox change color

    Locked

    by rac.techrep ·

    Is there a way to change the back or fore color on a ListBox/Columlist object? I’ve been trying to use the forecolor or backcolor property but it changes the entire columlist and I need only the row with a specific condition to be a different color. Any tip is appreciated.

    TIA,
    ricardo

All Comments

  • Author
    Replies
    • #3260617

      Reply To: MS Access ListBox change color

      by dryflies ·

      In reply to MS Access ListBox change color

      in looking through the help section I could not find where you can change the color of the selected item in a list box. The selected item color is based on the background color and the font color (fore)

      • #3260591

        Reply To: MS Access ListBox change color

        by rac.techrep ·

        In reply to Reply To: MS Access ListBox change color

        The problem is that I would like to display a column based on a criteria in a different color and not the selected item. For example if amount >1000 set row color = red. So, when the ListBox displays all items, that particular row will be red in the list and it will standout.

    • #3240186

      Reply To: MS Access ListBox change color

      by salini_m_s ·

      In reply to MS Access ListBox change color

      pls try this code using asp

      • #3240152

        Reply To: MS Access ListBox change color

        by rac.techrep ·

        In reply to Reply To: MS Access ListBox change color

        Thanks, but the issue is in VB not ASP. I know how to do it in ASP. I was looking for a VB answer. It seems that it is not supported at this moment. Thanks all for you replies.

Viewing 1 reply thread