storing data from NSPanel
storing data from NSPanel
- Subject: storing data from NSPanel
- From: julia Cline <email@hidden>
- Date: Sat, 30 Dec 2006 05:20:53 -0800
I created a panel connected to the drop down "New" menu item in the Main Nib Men.
I placed NSTexfields in the panel and tried to capture user-entered data from the fields and transfer is to a data object in the main nib file.
A controller object in the main nib file allocates the controller for the panel and, in the panel's nib menu, file's owner is the place holder (?) for the contoller that is allocated.
When I try to make connections between File's Owner (in the panel's nib window) and the data object (in the main nib window), they disappear. I am unable to get the information collected from the textfields in the panel into the data object that I must eventually archive.
If it helps, here'a general description of the project from the "outside":
I am programming an experiment with a repetitiive task that generates arrays of data which I have sucessfully connected to the data object. Before the user begins the repetitive tasks, I need to collect information about the user and store it in the data object along with the trial arrays. I was trying to use the panel to collect the infromation about the user. I would like for the person running the experiment to be able to enter the user data, close that window and the allow a user/ research participant to begin the experimental task that generates the arrays. Have I chosen the correct approach?
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden