Clicking on a button I want some text to go into a NSTextView control
Clicking on a button I want some text to go into a NSTextView control
- Subject: Clicking on a button I want some text to go into a NSTextView control
- From: Brian Heibert <email@hidden>
- Date: Tue, 20 Feb 2007 19:08:29 -0500
Hi,
I have this code in my SPAction.m file
and when someone clicks on my "A" button I want it to put the letter
A in a editable NSTextView control how do I do that? Please bare
with me as I am new to XCode
#import "SPAction.h"
@implementation SPAction
- (IBAction)A:(id)sender
// I tried this to put the letter "A" in the edit field or
{
[textField: setStringValue:@"A"];
}
- (IBAction)Assist:(id)sender
{
}
- (IBAction)B:(id)sender
{
}
- (IBAction)C:(id)sender
{
}
- (IBAction)D:(id)sender
{
}
- (IBAction)E:(id)sender
{
}
- (IBAction)F:(id)sender
{
}
- (IBAction)G:(id)sender
{
}
- (IBAction)H:(id)sender
{
}
- (IBAction)J:(id)sender
{
}
- (IBAction)K:(id)sender
{
}
- (IBAction)L:(id)sender
{
}
- (IBAction)M:(id)sender
{
}
- (IBAction)N:(id)sender
{
}
- (IBAction)NSPopUpButton:(id)sender
{
}
- (IBAction)PopDown:(id)sender
{
}
- (IBAction)SpaceBar:(id)sender
{
}
- (IBAction)TextField:(id)sender
{
}
- (IBAction)TextView:(id)sender
{
}
- (IBAction)V:(id)sender
{
}
- (IBAction)X:(id)sender
{
}
- (IBAction)Z:(id)sender
{
}
@end
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden