Squeak
  links to this page:    
View this PageEdit this PageUploads to this PageHistory of this PageTop of the SwikiRecent ChangesSearch the SwikiHelp Guide
Morphs may be named
Last updated at 6:22 pm UTC on 1 September 2016
To open a note card with a named PasteUpMorph do

 PasteUpMorph new name: 'myNote'; extent: 640@480; openInHand.

You may add this command to a menu and ask with a FillInTheBlankMorph for the name.

 PasteUpMorph new name: (FillInTheBlankMorph request: 'What the name of the card?'); extent: 640@480; openInHand.

You may as well add a property #isNoteCard or #isSlide so that later you may retrieve all your note cards easier in the image.

 PasteUpMorph new 

 name: (FillInTheBlankMorph request: 'What the name of the card?'); 

 setProperty: #isNoteCard toValue: true; 

 extent: 640@480; 

 openInHand.