Mr.Wizard Posted November 9, 2004 Share Posted November 9, 2004 It would be nice if there was a way to size a picture control to match the size of the image you put in it I have a catapult. Give me all the money or I will fling an enormous rock at your head. Link to comment Share on other sites More sharing options...
layer Posted November 9, 2004 Share Posted November 9, 2004 Why can't you just use the same coordinate's that you used for the picture control for the picture itself? I don't really understnad what your saying, maybe tell me in a little more detail and I will help. FootbaG Link to comment Share on other sites More sharing options...
Mr.Wizard Posted November 10, 2004 Author Share Posted November 10, 2004 I'm loading a picture and I don't know beforehand how big it is. I want the entire picture to show on the form, but if the picture control is smaller than the image it gets cropped. I have a catapult. Give me all the money or I will fling an enormous rock at your head. Link to comment Share on other sites More sharing options...
jpm Posted November 10, 2004 Share Posted November 10, 2004 I try to see if there is a solution with the current code. Until now I didn't find anything. Perhaps Jon or Valik will be more successfull Link to comment Share on other sites More sharing options...
Mr.Wizard Posted November 10, 2004 Author Share Posted November 10, 2004 Of course stretching the control to fit the image is one solution, but stretching the image to fit the control is the other. It might be nice to have a stretch property for the picture control, with possible settings None/ControlToImage/ImageToControl I have a catapult. Give me all the money or I will fling an enormous rock at your head. Link to comment Share on other sites More sharing options...
CyberSlug Posted November 10, 2004 Share Posted November 10, 2004 Use this code by lazycat Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig! Link to comment Share on other sites More sharing options...
jpm Posted November 10, 2004 Share Posted November 10, 2004 (edited) Use this code by lazycat<{POST_SNAPBACK}>Whoah, That' a code.I think I have find a solution if you define the control with a w=0 and h=0.I will postit in my upload area @cyberslug can you test it for non reg? Edited November 10, 2004 by jpm Link to comment Share on other sites More sharing options...
jpm Posted November 13, 2004 Share Posted November 13, 2004 @CyberSlug was it OK? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now