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

Re: NSTextField


  • Subject: Re: NSTextField
  • From: publiclook <email@hidden>
  • Date: Wed, 9 Apr 2003 21:29:34 -0400

The question was answered within the last few days. Search the archives: http://cocoa.mamasam.com/

Use -makeFirstResponder:

On Wednesday, April 9, 2003, at 07:24 PM, David Blanton wrote:

-
-
-
IBOutlet NStextField * theText;

In IB defined as editable and enabled.

I want to turn off editing, i.e. Not allow user input under certain
conditions so I

[theText setEditable:NO]

And the user can still edit. So, how does one restrict entry to an
NSextField ?

-
-
-

David Blanton
"Cocoa FNG"
_______________________________________________
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.
_______________________________________________
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 (From: David Blanton <email@hidden>)

  • Prev by Date: Cocoa text rendering and setUsesScreenFonts: ATSUI? QuickDraw? Something else?
  • Next by Date: NSDictionary new property list items in writeToURL
  • Previous by thread: NSTextField
  • Next by thread: [ANN] Vermont Recipes errata updated
  • Index(es):
    • Date
    • Thread