Results 1 to 3 of 3
  1. #1
    New Lounger
    Join Date
    Aug 2005
    Posts
    13
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Adding pictures to Tree view (2002 )

    Hi everyone. i know this sounds silly but how do you add icons to a tree control node

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Adding pictures to Tree view (2002 )

    You must put an ImageList control on the form, and use this to store the icons. The TreeView control has an ImageList property that must be set to the name of the ImageList control. Use code to assign the icons to nodes.

    See the threads starting at <post#=489,977>post 489,977</post: >, <post#=484,438>post 484,438</post: >, <post#=311,626>post 311,626</post: > and the links provided there.

  3. #3
    New Lounger
    Join Date
    Aug 2005
    Posts
    13
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Adding pictures to Tree view (2002 )

    thanks dude, you really know your stuff

Posting Permissions

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