Further update to Rolodex tutorial

Karl Ramberg karl.ramberg at chello.se
Mon Apr 23 05:56:51 UTC 2001


I saw you were looking for a mailTo button which added the proper heading.
I don't thik you can acomplish that without coding:-)
Here is a snippet of what you appoxomatly need:

messageStrm nextPutAll: 'From: ';
			 nextPutAll: Celeste userName;
			 cr;
			 nextPutAll: 'To: ';
			 nextPutAll: (self submorphNamed:'e-mail address' text string );
"This I have
 not tested:-). You have to name the textmorph that contain the e-mail
adress accoring to submorphNamed. With a little luck it works."
			 cr;
			 nextPutAll: 'Subject: '.
CelesteComposition
		openForCeleste: Celeste current
		initialText: messageStrm contents.





More information about the Squeak-dev mailing list