• 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
Re: NSTextField Question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTextField Question


  • Subject: Re: NSTextField Question
  • From: Daryn <email@hidden>
  • Date: Tue, 26 Nov 2002 22:55:05 -0600

On Tuesday, November 26, 2002, at 10:33 PM, Tom Gray wrote:
On an invalid response (I return NO from this method) I would like to select all of the text in the NSTextField. I believe I should use this method to do that:

[myNSTextField selectText: (id)sender];

However, what the heck (in this case) is (id)sender? In other words, I can't seem to figure out how to select all of the text in the text field from within my delegate method.

The sender is typically whatever object initiated the message. You can also just pass nil though.

Daryn
_______________________________________________
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.

References: 
 >NSTextField Question (From: Tom Gray <email@hidden>)

  • Prev by Date: NSTextField Question
  • Next by Date: Re: proper location for a database file
  • Previous by thread: NSTextField Question
  • Next by thread: Paginating an NSTableView
  • Index(es):
    • Date
    • Thread