Still trying to kill that pesky morph......
Ned Konz
ned at bike-nomad.com
Sun Oct 21 05:51:12 UTC 2001
On Saturday 20 October 2001 10:34 pm, John Hinsley wrote:
> If not, it pops up Karl's
> WorldTimeMorph with a further dialogue box. Something like "This person
> lives in a different time zone! Do you still want to dial?" On clicking
> yes, the morph is deleted and the number dialled, on clicking no, the
> morph is deleted. Now, although a sort of hybrid functionality is
> possible, it seems neater, since we're calling the Morph from a block of
> code, to delete it from a block of code, too.
So when you make the WorldTimeMorph, remember it in an instance or local
variable; when the button is pushed, delete the WorldTimeMorph (and the
dialog itself, presumably).
--
Ned Konz
currently: Stanwood, WA
email: ned at bike-nomad.com
homepage: http://bike-nomad.com
More information about the Squeak-dev
mailing list
|