Re: Matrix of NSTextFields (creating it in IB)
Re: Matrix of NSTextFields (creating it in IB)
- Subject: Re: Matrix of NSTextFields (creating it in IB)
- From: "David P. Henderson" <email@hidden>
- Date: Sun, 24 Jun 2001 13:51:22 -0400
On Sunday, June 24, 2001, at 01:56 , email@hidden wrote:
I hate to ask such simple questions but this is driving me nuts, I
can't seem to figure out what I am doing wrong. I am working my way
through the "ToDo" tutorial in the O'Reilly Cocoa book and now on the
part where I hookup the outlets and actions for the "ToDoDocument" on
page 263. I can't seem to hookup the 'itemList' and 'statusList' text
fields as a NSMatrix. When I open up the example code from O'Reilly's
website I noticed that the NSTextFields appear grouped but as of yet I
have been unable to replicate this. I did try the Layouts->Group
In->Custom View (and select NSMatrix as the custom class) but this was
just a shot in the dark (voodoo). When I added the NSTextFields to the
window I first dragged a NSTextField from the palette to the window,
resized it, and then option dragged to make a duplicate (as I
understood the instruction at the bottom of 262). Is there something
missing in my dragging technique?
Be sure to hold the option/alt key down after selecting the control and
before clicking on a control point to initiate the drag. IB doesn't seem
to notice the modifier key after the mouse down.
On Sunday, June 24, 2001, at 01:29 , Finlay Dobbie wrote:
Try an NSForm.
Ah, but the tutorial wants a matrix of text fields sans labels. :)
Dave
--
Chaos Assembly Werks
"Suburbia is where the developer bulldozes out the trees, then names the
streets after them."
- Bill Vaughn