I continue working on my stave-and-tabulature program(some older, but not very older version is in one of last mails). And I still cant really draw my object. Its rectangle (subclass of RectangleMorph) with submorph StringMorph - just a easy button. Here I have its drawOn:<br>
<br>drawOn: aCanvas<br>|label|<br>super drawOn: aCanvas.<br>label:=self findA: StringMorph.<br>label center: self center.<br>label drawOn: self. <br clear="all"><br><br>When I try to<br><br>but:=TempoButton new.<br>but drawOn: World.<br>
<br>in Workspace and doIt, I have debugger with:<br><br>PasteUpMorph(Object)&gt;&gt;doesNotUnderstand: #fillRectangle:fillStyle:borderStyle<br><br>So I think it goes up in superclass chain, and finds out drawOn: of Morph, but for some reason it doesnt really understands it. Why? <br>
-- <br>Pozdrawiam:<br>Filip<br>GG: 2486889<br>mail: <a href="mailto:filet00@gmail.com">filet00@gmail.com</a><br>