At 2:11 AM +0200 8/25/04, Rasmus Lindén wrote:
When I try to use RB3DSpace.GetPicture, it always returns nil. This
is the code I'm using:
Dim f As FolderItem
Dim p As Picture
ScreenshotNumber = ScreenshotNumber + 1
p = MainWindow.RB3DSpace.GetPicture
if p <> nil then
f = GetFolderItem("Screenshot " + Str(ScreenshotNumber))
f.SaveAsPicture p
end if
Exception err as NilObjectException
Debug "Couldn't get RB3DSpace picture!"
Are you sure it's nil? You wouldn't see the Debug message in that
case. You've stepped through it and confirmed that p is, in fact,
nil?
If so, then I have no idea -- I've used it and it certainly works in
my hands. Perhaps you'll need to post more details about what OS
you're using, version thereof, version of RB/Quesa, etc.
Best,
- Joe
--
,------------------------------------------------------------------.
| Joseph J. Strout REAL Software, Inc. |
| joe at realsoftware dot com http://www.realsoftware.com |
`------------------------------------------------------------------'
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://www.realsoftware.com/listarchives/lists.html>
|