[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Question about NSMatrix programming
From: |
Stéphane PERON |
Subject: |
Question about NSMatrix programming |
Date: |
Sat, 27 Oct 2001 15:20:43 -0400 |
Hi all,
As i can't make matrix with Gorm... :( I try to learn how to use this object
in programming.
You can see at below a simple example with a string in a cell that naturally
doesn't work :
NSMatrix *matrice;
id cell;
NSRect rect = NSMakeRect (200,200,700,400);
matrice = [[NSMatrix alloc] initWithFrame: rect];
[matrice addColumn];
[matrice addRow];
cell = [matrice cellAtRow: 0 column: 0];
[cell setStringValue: @"essai"];
Where am I wrong ? What is the mistake ?
Thanks for you help.
--
*****************
Stéphane PERON
speron@telys.com
*****************
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Question about NSMatrix programming,
Stéphane PERON <=