morphic related question...

Ned Konz ned at bike-nomad.com
Mon Apr 2 17:45:15 UTC 2001


On Monday 02 April 2001 04:12, Raymond Tiefenthal wrote:

> Btw, theres a method #setTarget: in MorphMenu which allways gives me a
> walkback.
> The comment says:
> "Set the default target object to be used for add item commands, and
>  re-target all existing items to the new target or the the invoking hand"
> The method sends #hand to the argument, which raises "message not
> understood". That seems like it expects a MorphicEvent as argument.
> Allthough I'm a rookie, that looks like a bug to me.
> Anyhow, perhaps I'll investiagte that further and post sepperatly.

setTarget: is meant to be called from a menu choice, with the event that 
initially made the menu come up. It is not intended to be used to change the 
target of an existing MenuItemMorph programmatically.

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





More information about the Squeak-dev mailing list