title: Image button not changing
body: <p>I'm trying to change the image of 25 buttons sequentially with delayed time between the changes and it doesn't work.</p>
  
  <p>The code is:</p>
  
  <pre><code>do {
      if (Anterior &gt; -1) {
          [[BtnArray objectAtIndex(Anterior)] setImage:Nil];
      }
      [[BtnArray objectAtIndex:(Gira[J])]
         setImage:[NSImage imageNamed:@"Encen.png"]];
      Anterior = Gira[J];
      Delay(Espera,&amp;junk);
      ++J;
  } while (J&lt;25);
  </code></pre>