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

Ronald Spengler ron.spengler at gmail.com
Sat Aug 29 19:44:09 UTC 2009


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20090829/40ac8e90/attachment.htm


More information about the Squeak-dev mailing list