Results 1 to 3 of 3

Thread: [2005] Setting button background image

  1. #1

    Thread Starter
    Banned
    Join Date
    Aug 2006
    Posts
    77

    [2005] Setting button background image

    If I need to set the background of an image to one of the files in my resource list, how can I do this?

    button1.BackGroundImage = what?

    My image is called "button_bg_red.bmp" and is in my resource list right now.

  2. #2
    Raging swede Atheist's Avatar
    Join Date
    Aug 2005
    Location
    Sweden
    Posts
    8,018

    Re: [2005] Setting button background image

    check the My.Resources namespace
    Rate posts that helped you. I do not reply to PM's with coding questions.
    How to Get Your Questions Answered
    Current project: tunaOS
    Me on.. BitBucket, Google Code, Github (pretty empty)

  3. #3

    Thread Starter
    Banned
    Join Date
    Aug 2006
    Posts
    77

    Re: [2005] Setting button background image

    Ah, that's what I was looking for. Thanks!

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