[squeak-dev] Re: My button isn't listening to me.

Ronald Spengler ron.spengler at gmail.com
Sat Aug 29 20:06:02 UTC 2009


Haha, clicked send a little too quickly on this one. This was my error.

On Sat, Aug 29, 2009 at 12:44 PM, Ronald Spengler <ron.spengler at gmail.com>wrote:

> I have the following initialization method on my subclass of IconicButton:
>
> initialize
> super initialize.
> self
>  extent: 50 at 50;
> color: Color transparent;
> borderWidth: 2;
>  borderColor: Color transparent;
> hResizing: #shrinkWrap;
> vResizing: #shrinkWrap;
>  borderStyle: SimpleBorder new;
> cornerStyle: #rounded;
> borderWidth: 2;
>  actWhen: #startDrag
>
> Oddly, however, when I create and inspect my button, I see that actWhen is
> set to #buttonUp. That seems weird. Am I doing something wrong, or do I have
> a bug?
>
> --
> Ron
>



-- 
Ron
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20090829/db307f0e/attachment.htm


More information about the Squeak-dev mailing list