variables pb
variables pb
- Subject: variables pb
- From: Cyprien <email@hidden>
- Date: Mon, 22 Sep 2003 13:40:27 +0200
Hi every body
I'm sorry to disturb you for such a question, but I've tried to solve
it by myself, and I didn't succeed.
I got a window with many parameters, and I want to use them to draw a
fonction in a second window. When I click on a button, the second
window open, but I don't have access to the variables of the first
window. [txtField stringValue] doesn't work, for example. I receive a
(null).
I've tried to make variable accessor like
-(void) n { return n; }
but it seems that, from the moment I click on the button (which launch
a function showWindow), I can't access to the variables of the first
window anuymore.
While the second window is not opened, I can access to any variable,
I've checked it.
I've also tried to declare the variable like "static n int;" at the
beginning of the .m file, but it doesn't seems to work either...
Does anybody know how to do this ?
Cyprien
_______________________________________________
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.