the purpose of the paintpicture method ...
Picture1.PaintPicture LoadPicture(myPath), 0, 0, Picture1.Width, Picture1.Height
... is to stretch the image to full size, if the user wants to see the image in full size.
Your suggestion
Picture1.Picture = LoadPicture(myPath)
only allows to see the image in original size - but not in a bigger size
or in full size, unfortunately.
Main Topics
Browse All Topics





by: MohsanPosted on 2006-08-28 at 05:06:09ID: 17403200
Picture1.PaintPicture LoadPicture(myPath), 0, 0, Picture1.Width, Picture1.Height re(myPath)
instead of your above line use following
picture1.picture=LoadPictu