Results 1 to 3 of 3

Thread: backgrouns, picture boxes, etc.

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Oct 1999
    Location
    Sheffield, Derbyshire, UK
    Posts
    68

    Post

    im trying 2 make a program that lets you choose what background u have. it has a combo box that has all the wallpaper names in it, and a button to set this as wallpaper.
    I can set the picture as wallpaper, but i now want to preview the pic in a pic box, which changes whenever the combo box does. How can i do this, and how can i scale the pic so it fits in the picture box?
    thanks

    ------------------
    jimmy
    ICQ:35813919
    [email protected]


    [This message has been edited by jimdalby (edited 01-12-2000).]

  2. #2
    PowerPoster Fox's Avatar
    Join Date
    Jan 2000
    Location
    *afk*
    Posts
    2,088

    Post

    The easiest way to stretch a picture will be to make an Image and set it's Stretch to true.

    To load it put the code for loading the back pic to Combo1.Click() and replace the form with the name of your combo box.

    ------------------
    Fox
    [email protected]
    http://gigotz.tsx.org
    ...
    Every program can be reduced to one instruction which doesn't work.



  3. #3

    Thread Starter
    Lively Member
    Join Date
    Oct 1999
    Location
    Sheffield, Derbyshire, UK
    Posts
    68

    Post

    Heya, ta verymuch
    Im not sure about your moto, though!!!

    ------------------
    jimmy
    ICQ:35813919
    [email protected]

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