Xojo Conferences
XDCMay2019MiamiUSA

Weird Picture Problem (Not showing up) (Real Studio network user group Mailinglist archive)

Back to the thread list
Previous thread: [ANN] KidzMail 1.1
Next thread: Listbox value


Re: File handling ideas ???   -   Jan Erik Moström <
  Weird Picture Problem (Not showing up)   -   Brian Heibert
   Re: Weird Picture Problem (Not showing up)   -   Will Leshner
   Re: Weird Picture Problem (Not showing up)   -   Brady Duga
   Re: Weird Picture Problem (Not showing up)   -   Charles Yeomans
   Re: Weird Picture Problem (Not showing up)   -   Christian Schmitz

Weird Picture Problem (Not showing up)
Date: 13.08.03 18:17 (Wed, 13 Aug 2003 12:17:31 -0500)
From: Brian Heibert
Ok, so now it imports fine but now I got another problem
I have a canvas I called mainpic, and in the canvas's open event I have:

Dim rf as resourcefork
Dim p as picture
rf p.resourcefork
if rf <> nil then
p=rf.GetPicture(2582)
mainpic.backdrop=p
end if

But it is not displaying the picture at all

I am sorry, I don't mean to bug the list as much as I have but this is weird

Brian

---
A searchable archive of this list is available at:
<http://support.realsoftware.com/listarchives/search.php>

Unsubscribe or switch delivery mode:
<http://support.realsoftware.com/listmanager/>

Re: Weird Picture Problem (Not showing up)
Date: 13.08.03 18:27 (Wed, 13 Aug 2003 10:27:10 -0700)
From: Will Leshner
You might want to step through in the debugger to make sure you are
getting the rf and picture and everything. Other than that, you might
need to throw in a refresh for it to show up immediately.

Brian Heibert wrote:

> Ok, so now it imports fine but now I got another problem
> I have a canvas I called mainpic, and in the canvas's open event I have:
>
> Dim rf as resourcefork
> Dim p as picture
> rf p.resourcefork
> if rf <> nil then
> p=rf.GetPicture(2582)
> mainpic.backdrop=p
> end if
>
> But it is not displaying the picture at all
>
> I am sorry, I don't mean to bug the list as much as I have but this is weird



---
A searchable archive of this list is available at:
<http://support.realsoftware.com/listarchives/search.php>

Unsubscribe or switch delivery mode:
<http://support.realsoftware.com/listmanager/>

Re: Weird Picture Problem (Not showing up)
Date: 13.08.03 18:27 (Wed, 13 Aug 2003 10:27:11 -0700)
From: Brady Duga

On Wednesday, August 13, 2003, at 10:17 AM, Brian Heibert wrote:

> Ok, so now it imports fine but now I got another problem
> I have a canvas I called mainpic, and in the canvas's open event I
> have:
>
> Dim rf as resourcefork
> Dim p as picture
> rf p.resourcefork
> if rf <> nil then
> p=rf.GetPicture(2582)
> mainpic.backdrop=p
> end if

Are you sure you have a PICT resource with ID 2582 in your apps
resource fork?

--Brady
The La Jolla Underground

---
A searchable archive of this list is available at:
<http://support.realsoftware.com/listarchives/search.php>

Unsubscribe or switch delivery mode:
<http://support.realsoftware.com/listmanager/>

Re: Weird Picture Problem (Not showing up)
Date: 13.08.03 19:33 (Wed, 13 Aug 2003 14:33:38 -0400)
From: Charles Yeomans

On Wednesday, August 13, 2003, at 01:17 PM, Brian Heibert wrote:

> Ok, so now it imports fine but now I got another problem
> I have a canvas I called mainpic, and in the canvas's open event I
> have:
>
> Dim rf as resourcefork
> Dim p as picture
> rf p.resourcefork
> if rf <> nil then
> p=rf.GetPicture(2582)
> mainpic.backdrop=p
> end if
>
> But it is not displaying the picture at all
>
> I am sorry, I don't mean to bug the list as much as I have but this is
> weird

Are you certain that p <> nil?

Charles Yeomans

---
A searchable archive of this list is available at:
<http://support.realsoftware.com/listarchives/search.php>

Unsubscribe or switch delivery mode:
<http://support.realsoftware.com/listmanager/>

Re: Weird Picture Problem (Not showing up)
Date: 14.08.03 02:27 (Thu, 14 Aug 2003 03:27:32 +0200)
From: Christian Schmitz
Brian Heibert <<email address removed>> wrote:

> But it is not displaying the picture at all

Allocate more memory to your application.

Mfg
Christian