[BUG] makeSibling error

Lic. Edgar J. De Cleene edgardec2001 at yahoo.com.ar
Sat Sep 13 10:58:47 UTC 2003


On 12/09/03 18:00, "Ned Konz" <ned at bike-nomad.com> wrote:

> On Friday 12 September 2003 01:37 pm, Lic. Edgar J. De Cleene wrote:
>> But now I have another question.
>> How Squeak are drawing something (bad initialized or changed) what
>> is set to nil?.
>> Where original form (a gif in this case) are remembered by the
>> system (and fooling inexpert Squeakers like me).
> 
> What do you mean?
> 
> SketchMorphs can have both an original and a rotated/stretched Form,
> if that helps.
Ned:
Thanks to you too.

My question is.

To have a ImageMorph showing something different to default picture , you
must do something like :

ImageMorph image:  (Form fromFileNamed: 'MyPiture').
This is the method what I use , selecting path witn FileList, copy and
pasting in place .
Then I save the morph in a dir for mi app, for later setting path to correct
dir and loading resulting morphs.

Why in all this picture become nil ?
Perhaps I tweaking my class and something get lost in the process.
But, where go the form for 'MyPicture' ?
And how the system still showing the picture having image set to nil ?

Regards
Edgar



More information about the Squeak-dev mailing list