I have done this also, I tried several workarounds to this problem. But it seemed that the clip board was the fastest and most reliable. Speed is very important in my app because I am uploading hundreds of pictures to a remote server, and this workaround must be performed for each.
Robert Garcia BigHead Technology
On Thursday, May 31, 2001, at 12:41 AM, erne wrote:
> I've worked around this saving it to a temp file with SaveAsPicture > method > > // trick to get a Pict out of graphics > f = GetFolderItem("PictTemp") > // convert to PICT > if f <> nil then > f.SaveAsPicture(ScaledPict) > ScaledPict = nil > ScaledPict = f.OpenAsPicture > f.Delete > f = nil > end if
------------------------------------------------------------- The Valentina mailing list is brought to you by MacServe.net For info on lists services, see http://www.macserve.net/lists.html ©2001 Robert Garcia |