Hi, Im Filip, and Im new at squeak. Ive read &#39;Squeak by example&#39;, and now I try to make my first program. Ive already written in Pascal and a bit (really small bit) of C. Im from Poland, so my english can by not realy good.<br>
<br>Now time for my problem:<br>I wanna write a program to write notes on stave (for music). Later Im gonna add translating notes into tabulatures for guitar, and later - for flute. But I begin with just notes.<br>I started from creating object &#39;Pieciolinia&#39; which is stave (in polish). Then I found out I need some tool to change metrum (Im not sure if its the same in english and polish, its speed of song, written on begining of stave, just after treble clef). So I made class &#39;TempoButton&#39; which is expected to contain 3 smaller buttons: gora, dol &amp; strzalka. gora is top number of metrum, dol - bottom number and strzalka is button to show a list of usual metrums (you click it and you have a list). gora and dol should open FillInTheBlank and change itself captions to what is written by user, and strzalka should open a PopUpMenu with list of some metrums.<br>
Then I created class &#39;SkladowyButton&#39; which is my version of Basic Button (I wasnt able to find out how to handle with it, so I tried to create new one. And I could make up my own outlook for button).<br>Ive written some methods, but when I try to execute (do it with ctrl+d):<br>
<br clear="all">but:=TempoButton new.<br>but drawOn: World.<br><br>I have debugger as on zrzut1.jpg (I send it).<br><br>I send whole category (I fileOut&#39;ed it with yellow button on Browser) &#39;Nuty&#39; (it means &#39;Notes&#39; in PL).<br>
<br>I would be really pleased if anyone would try to help me. I dont expect you to give the whole code, but to show where is problem and what I should change. I just wanna learn (on school I do Pascal, and I know that on studies (next year) Im gonna start with Java and objects, so I try to learn).<br>
<br>Oh, and last thing: I use Squeak added to Ubuntu 8.10 (ver 3.9). Of course I work on this Linux. I know that it propably wont mean anything important, cause I work on VM, but better to write too much than too little ;)<br>
<br>-- <br>Greeting:<br>Filip<br>GG: 2486889<br>mail: <a href="mailto:filet00@gmail.com">filet00@gmail.com</a><br>