Results 1 to 3 of 3

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
    Member
    Join Date
    Aug 2002
    Location
    Indianapolis In, lookin for a Good Woman !~
    Posts
    48

    did you ever get an answer to this ?

    did you ever get an answer to this ?

  3. #3
    The Devil crptcblade's Avatar
    Join Date
    Aug 2000
    Location
    Quetzalshacatenango
    Posts
    9,091
    Each ListItem and ListSubItem should have a ForeColor property that you can change. The listview's ItemClick event will give you the item that was clicked, so you can use that to change the currently selected item.

    Laugh, and the world laughs with you. Cry, and you just water down your vodka.


    Take credit, not responsibility

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