Results 1 to 2 of 2

Thread: Loading a picturebox with a bit map held in an imagelist

  1. #1

    Thread Starter
    Member
    Join Date
    Sep 2004
    Posts
    62

    Question Loading a picturebox with a bit map held in an imagelist

    Having placed a number of bitmap files in an imagelist collection, how do I progeammaticaly place a selected image from the imagelist in a picturebox.

  2. #2
    Frenzied Member
    Join Date
    Jul 2005
    Posts
    1,521

    Re: Loading a picturebox with a bit map held in an imagelist

    VB Code:
    1. picturebox1.image = imagelist1.Images(cnt)

    cnt being a variable you declare for the index of the image that you want.

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