Re: Error 2 with New Graphics

2007-04-15 Thread Eric Richards
>Good question. I'm not sure. >I'd just make the property a Picture and use that or it's graphics >and mask properties. >At least that way you can use all the methods that apply to Pictures >for resizing, masking, etc and plugins that get and return pictures. > > Humm... very strange. Ok

Re: Error 2 with New Graphics

2007-04-15 Thread Norman Palardy
On 15-Apr-07, at 12:17 PM, Eric Richards wrote: > > > >> >> Make the Artist a Picture, not a Graphics >> Graphics cannot exist on their own, but only as a property of >> something like a Picture >> >> >> >> > Ahh.. ok. > > Why would it work in the IDE but then crash when compiled ? Good questio

Re: Error 2 with New Graphics

2007-04-15 Thread Eric Richards
>Oops not sure that will work in 5.5 > >This will: > >Dim P as Picture >P = NewPicture(Width,Height,Depth) >Artist = P.Graphic > > Cool thanks. ___ Unsubscribe or switch delivery mode: Search th

Re: Error 2 with New Graphics

2007-04-15 Thread Eric Richards
> >Make the Artist a Picture, not a Graphics >Graphics cannot exist on their own, but only as a property of >something like a Picture > > > > Ahh.. ok. Why would it work in the IDE but then crash when compiled ? ___ Unsubscribe or switch delivery

Re: Error 2 with New Graphics

2007-04-15 Thread Norman Palardy
On 15-Apr-07, at 10:30 AM, Eric Richards wrote: > Hi - > > I have a class in which I have this - > > Properties > Artist as Graphics > > then in a Init method I have this > > Artist = New Graphics > > Ok with Rb triple 5 it runs just fine in the IDE. > Now when I go to run the compiled app, it

Re: Error 2 with New Graphics

2007-04-15 Thread Karen
On Apr 15, 2007, at 11:58 AM, Karen wrote: > Dim P as New Picture(Width,Height,Depth) > > Artist = P.Graphics Oops not sure that will work in 5.5 This will: Dim P as Picture P = NewPicture(Width,Height,Depth) Artist = P.Graphics ___ Unsubscribe or s

Re: Error 2 with New Graphics

2007-04-15 Thread Karen
On Apr 15, 2007, at 12:30 PM, Eric Richards wrote: > Hi - > > I have a class in which I have this - > > Properties > Artist as Graphics > > then in a Init method I have this > > Artist = New Graphics AFAIK you can only create a VALID graphics object by first creating a new picture. Dim P as

Error 2 with New Graphics

2007-04-15 Thread Eric Richards
Hi - I have a class in which I have this - Properties Artist as Graphics then in a Init method I have this Artist = New Graphics Ok with Rb triple 5 it runs just fine in the IDE. Now when I go to run the compiled app, it crashes with Error type 2 on os 9.2.2. I'm a bit puzzled. Works fine i