PDA

Click to See Complete Forum and Search --> : backgrouns, picture boxes, etc.


jimdalby
Jan 12th, 2000, 04:26 AM
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
jim@rdalby.f9.co.uk


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

Fox
Jan 12th, 2000, 04:47 AM
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
gigotz@gmx.net
http://gigotz.tsx.org
...
Every program can be reduced to one instruction which doesn't work.

jimdalby
Jan 13th, 2000, 01:18 AM
Heya, ta verymuch
Im not sure about your moto, though!!!

------------------
jimmy
ICQ:35813919
jim@rdalby.f9.co.uk