Results 1 to 2 of 2

Thread: Listview Item question

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Jul 2001
    Location
    Maumelle, AR
    Posts
    624

    Listview Item question

    Hey, How can I change the color of a SELECTED listitems forecolor? When a user selects an item, I want the text color to change from black to red. Is this possible? I just want that one item's color to change and the rest to stay black. This way, the user can see which Items they have selected. Kind of like in HTML when a link you've already clicked is grayed. Any help appreciated.

  2. #2
    The picture isn't missing BuggyProgrammer's Avatar
    Join Date
    Oct 2000
    Location
    Vancouver, Canada
    Posts
    5,217
    each listitem has a forecolor setting. use that to change the color, and use a public variable that will store the last selected item to change back to black.
    Remember, if someone's post was not helpful, you can always rate their post negatively .

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