Disabling PluggableButtonMorph or should I be using something else?
Ned Konz
ned at bike-nomad.com
Wed Jul 10 14:40:16 UTC 2002
On Wednesday 10 July 2002 05:49 am, Jerome Chan wrote:
> Right now I have a series of PluggableButtonMorphs which I would
> like to enable and disable based on some criteria. For example, if
> I have no items selected on a PluggableListMorph, I won't be able
> to click on the remove button. How do I do that? I thought I'd
> simply return true or false into the getState selector but that
> does not appear to work. I can still click on the button.
have you tried:
button lock
and
button unlock
--
Ned Konz
http://bike-nomad.com
GPG key ID: BEEA7EFE
More information about the Squeak-dev
mailing list
|