Re: NSMatrix question?
Re: NSMatrix question?
- Subject: Re: NSMatrix question?
- From: Daryn <email@hidden>
- Date: Tue, 8 Jul 2003 01:37:28 -0500
Since a matrix is a control, I would expect this to work:
[myNSMatrixOutlet deselectAllCells];
id enumerator = [[myArray objectAtIndex:0] objectEnumerator];
NSCell *cell;
while (cell = [enumerator nextObject]) {
[myNSMatrixOutlet selectCell:cell];
}
On Tuesday, July 8, 2003, at 01:10 AM, Peter Karlsson wrote:
Dear list!
This code will store the selected cells in my array:
[myArray replaceObjectAtIndex: 0 withObject:[myNSMatrixOutlet
selectedCells]];
But how do I set the cells from the array?
Peter
_________________________________________________________________
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*.
http://join.msn.com/?page=features/virus
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
Daryn
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.