help-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: nsmatrix stepping between cells


From: reuss
Subject: Re: nsmatrix stepping between cells
Date: Mon, 23 Feb 2004 02:31:03 GMT
User-agent: Pan/0.11.2 (Unix)

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++;
                        }
}


reply via email to

[Prev in Thread] Current Thread [Next in Thread]