• 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
Overriding NSSecureTexField's behavior when becoming first responder
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Overriding NSSecureTexField's behavior when becoming first responder


  • Subject: Overriding NSSecureTexField's behavior when becoming first responder
  • From: Radu Butnaru <email@hidden>
  • Date: Tue, 15 Jul 2003 06:35:37 -0700 (PDT)

I'm interested in overriding NSSecureTextField
behavior when becoming first responder. What I want
is to position the cursor at the beginning of the
field and not to select the whole text. While I did
this easily with NSTextField by subclassing it and
overriding the method "becomeFirstResponder" by
working with the window's fieldEditor, as I read from
the API reference NSSecureTextField's uses its own
fieldEditor, and I couldn't figure out how to access
it (if that is possible). I'd appreciate any
help/solution.

Thanks,
Radu

__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com
_______________________________________________
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.

  • Prev by Date: Re: (10.0.x) option-clicking in statusbar hides active app (update)...
  • Next by Date: Re: iTunes playlist icons?
  • Previous by thread: Re: (10.0.x) option-clicking in statusbar hides active app (update)...
  • Next by thread: Power Builder doesn't launch
  • Index(es):
    • Date
    • Thread