Results 1 to 3 of 3

Thread: picturebox image question

  1. #1

    Thread Starter
    Frenzied Member System_Error's Avatar
    Join Date
    Apr 2004
    Posts
    1,111

    picturebox image question

    I can't seem to get my picturebox to display images correctly. It wants to tile the images no matter what the property I set. I set the sizemode to autosize, then stretch and still got tiled images. I also tried setting the sizemode through code, but it still gives me tiled images!


    If anyone knows what I'm doing wrong, then please tell.

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,222

    Re: picturebox image question

    It sounds like you've set the BackgroundImage property instead of the Image property.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  3. #3

    Thread Starter
    Frenzied Member System_Error's Avatar
    Join Date
    Apr 2004
    Posts
    1,111

    Re: picturebox image question

    Wow, nice diagnosis without much information given That's EXACTLY what I did.

    Thanks for the help!

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