On Sunday, February 22, 2004, at 07:31 PM, reuss wrote:


here is my solution that seems too slow

- (void) keyUp: (NSEvent *) theEvent
{
if ([theEvent keyCode] == 100 && mrow > 0 && mcol == 0 )
{
if (counter >0)
{
[matrix selectCellAtRow: mrow-1 column: 6];
[self performSelector: @selector(changeBackground:)];
counter = 0;
}
else
{
counter++;
}
}



I don't know why that would be slow.


Another solution might be to override -moveLeft: to do what you want.



_______________________________________________
Help-gnustep mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/help-gnustep

Reply via email to