On Jun 25, 2008, at 11:05 PM, Omar Qazi wrote:
On Jun 25, 2008, at 10:44 PM, Eric Lee wrote:
Okay, I've done this:
[labelField setstringValue:[textField StringValue]];
However, when I build it, and I type something in and then press
the button,
the string doesn't show up on the labelField I
On Jun 25, 2008, at 10:44 PM, Eric Lee wrote:
Okay, I've done this:
[labelField setstringValue:[textField StringValue]];
However, when I build it, and I type something in and then press the
button,
the string doesn't show up on the labelField IBOutlet.
How can I resolve this?
Ok, Cocoa
On Jun 25, 2008, at 2:36 PM, Eric Lee wrote:
I’m trying to get a string from one text field and then set the
string in
another text field.
[anotherTextField setStringValue:[oneTextField string value]];
Or, if you want to be cool with Objective-C 2.0:
anotherTextField.stringValue = oneTex
On Jun 25, 2008, at 5:36 PM, Eric Lee wrote:
I’m trying to get a string from one text field and then set the
string in
another text field.
Note that NSTextField inherits from NSControl. NSControl has methods -
stringValue and -setStringValue:.
--Andy
I¹m trying to get a string from one text field and then set the string in
another text field.
How do you do this?
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the mo