Need Help with PluggableButtonMorph

Ned Konz ned at bike-nomad.com
Sun Jan 26 18:04:51 UTC 2003


On Sunday 26 January 2003 09:17 am, Stephane Ducasse wrote:
> Hi guys
>
> can somebody help me with the following problem (I spent really too
> much time on it)?
>
> I have a window with PlugabbleButtonMorph buttons, when I open the
> window, the buttons are in a down position (I would like them to be
> in up at start time), when I click on the buttons they do
> up/down/up and stay in up position after. This means that the user
> sees a difference whether he pressed or not on a button.

The problem is that you're adding buttons to the SystemWindow 
directly; the alternative look is changing their borderStyle to 
#inset which is making them look as if they're depressed.

Instead, add the buttons to another Morph and then add that Morph to 
the window.

-- 
Ned Konz
http://bike-nomad.com
GPG key ID: BEEA7EFE



More information about the Squeak-dev mailing list