SketchMorph and Button?
EL Marjani Radouane
estel1212 at yahoo.fr
Mon Aug 22 16:32:08 UTC 2005
Hi,
I am new in this World of Sqeauk. I didn't find more
Help in Internet.
I wisch someone help me.
I want to create a SketchMorph from an Image and a
Button
too from Image. I want click in Button and
SketchMorphImage must change with a neu Image.
Please have someone an Idea.
Thanks.
some code:
initialize
super initialize.
handySiemens := SketchMorph
fromFile'Bearbeitete\M65Rot.jpg'.
handySiemens position: 0 @ 0.
aHandyDisplay := HandyDisplay new.
aHandyDisplay handyDisplayInitialize.
handySiemens addMorphFront: aHandyDisplay display.
aHandyButton := HandyButton new.
aHandyButton handyButtonInitialize.
handySiemens makeButton: aHandyButton hbutton.
"(Hier i must make a button!!!!!!!!!!!!!!!)"
handySiemens openInWorld
Ragards,
radouane
EL Marjani Radouane
___________________________________________________________________________
Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger
Téléchargez cette version sur http://fr.messenger.yahoo.com
More information about the Squeak-dev
mailing list
|