Results 1 to 3 of 3

Thread: Change the background color of a line in my ListBox

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Jul 2002
    Location
    Canada
    Posts
    455
    Dear Vb users,

    I select a line in my ListBox

    Is it possible to change only the background color of this specific line?

    If yes: how do I do this?????

    Thanks a lot for reading my question.

    Nice regards,

    Michelle.

  2. #2
    Hyperactive Member
    Join Date
    Sep 1999
    Location
    Cleveland, Ohio
    Posts
    263
    Yeah I know exactly what your problem is... the listbox doesn't allow you to select a different selected item color; it uses the colors provided by the system. So the only remedies I can provide are to either change the system colors why your app is running, or to make your own listbox out of a picturebox (it's not all that hard!).

  3. #3

Posting Permissions

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



Click Here to Expand Forum to Full Width