• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Clicking on a button I want some text to go into a NSTextView control
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Clicking on a button I want some text to go into a NSTextView control
      • From: "Shawn Erickson" <email@hidden>
  • Prev by Date: Re: QuartzCore.framework on 10.3.9?
  • Next by Date: Re: Clicking on a button I want some text to go into a NSTextView control
  • Previous by thread: What are all these hidden com.apple.Xcode_nnnn_nnnnnnnn_nn folders?
  • Next by thread: Re: Clicking on a button I want some text to go into a NSTextView control
  • Index(es):
    • Date
    • Thread