In date 30-05-2001 18:42, Robert Garcia wrote:
Hi Robert,
> > Please notice the use of the clipboard. This is completely essential many > time in RB when using images. It is a bug. Also, this bug doesn't seem to > always occur in windows, and in fact I had a crash in windows that I traced > to the clipboard workaround, when I removed it, no crash, and everything > worked?! /at/ #$ >
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 .D.OT SaveAsPicture(ScaledPict) ScaledPict = nil ScaledPict = f.OpenAsPicture f.Delete f = nil end if
Cool Runnings, Erne.
| e r | Ernesto Giannotta | n e | Musical Box - a media store
------------------------------------------------------------- The Valentina mailing list is brought to you by MacServe.net For info on lists services, see http://www.macserve.net/lists.html ©2001 erne |