How to I get one Morph to call another?

Ned Konz ned at bike-nomad.com
Tue Apr 17 04:21:42 UTC 2001


John Hinsley <jhinsley at telinco.co.uk> wrote:

> What I want is a
> mouse up event on one of the text morphs to call Mister Postman (the
> message bit of Celeste) with the e mail address in that text morph in
> the to: field.

Well, here's a bit of what you'll need...

TextMorph>>activateAsMailtoUrl
	('mailto:', self contents) asUrl activate


Then you can just add a mouseUp action to the TextMorph that calls this.

I couldn't think of a simpler way to do it, sorry.

-- 
Ned Konz
currently: Stanwood, WA
email:     ned at bike-nomad.com
homepage:  http://bike-nomad.com





More information about the Squeak-dev mailing list