Results 1 to 2 of 2
  1. #1
    Join Date
    Oct 2002
    Location
    Greensboro, NC
    Posts
    50

    Question Unanswered: change backcolor according to selection in combo

    Hello Everyone,

    Is there a way to change the backcolor of a combo box depending on the selection.

    ex:

    combo box has following selections

    Good
    Fair
    Poor

    If good then backcolor=green, fair = blue, poor=red

    thanks

  2. #2
    Join Date
    Oct 2002
    Location
    Greensboro, NC
    Posts
    50

    Re: change backcolor according to selection in combo

    Originally posted by tjacobs
    Hello Everyone,

    Is there a way to change the backcolor of a combo box depending on the selection.

    ex:

    combo box has following selections

    Good
    Fair
    Poor

    If good then backcolor=green, fair = blue, poor=red

    thanks
    PS

    I tried
    If me.combobox = "poor" then
    combobox.backcolor = rgb(255,255,255)
    else
    combobox.backcolor = rgb(255,0,0)
    end if

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •