i have a panel with a background image with a label on top and i need to change the panel size several times and i need to stretch the image in order to have a good aspect. I was thinking about changing the image size everytime i resize the control, i don't know if this is the best way to do it... but first i need to know how to change the image size.
dim ima as image
ima.width=panel1.width
tried this but it says that ima.width is read only
Question
Cool4
i have a panel with a background image with a label on top and i need to change the panel size several times and i need to stretch the image in order to have a good aspect. I was thinking about changing the image size everytime i resize the control, i don't know if this is the best way to do it... but first i need to know how to change the image size.
tried this but it says that ima.width is read only
Link to comment
Share on other sites
10 answers to this question
Recommended Posts