Click-Enables Editing in NSTextField
Click-Enables Editing in NSTextField
- Subject: Click-Enables Editing in NSTextField
- From: Scott Harper <email@hidden>
- Date: Thu, 1 Sep 2005 15:47:04 -0600
Hello,
I'm trying to create a text field that is disabled (or otherwise does
NOT have the focus, even though it's the only focusable item in the
window) upon startup, gains the focus if you click inside it, and
then loses focus if you click OUTSIDE it, or press return, so that I
can accept keystrokes (like how photoshop does, without modifiers)
for commands, and it won't type inside the text field.
Does anyone have any advice on how to do this?
--Scott
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden