NSTextView and Click on Button
NSTextView and Click on Button
- Subject: NSTextView and Click on Button
- From: Steve Cronin <email@hidden>
- Date: Wed, 28 Nov 2007 14:53:07 -0600
Folks;
I know there is a ton of documentation on this but if you don't know
how to ask the right question you will never find the right
answer... I have tried but I just can't seem to find what I'm
looking for.
I have a regular old NSTextView (so I get the scrolling and new lines
versus using a NSTextField)
I have the attributedString set in bindings to a instance variable in
the windowController -> myAttrString
If the user is entering data into this NSTextView and then grabs the
mouse and clicks a button I am not getting the latest data with
[myAttrString string]
On the button click I'd like to do something like:
[myTextView textShouldEndEditing] but that doesn't work.
It seems so simple.. I apologize if my frustration has made me blind
to something well documented!
Thanks for any help!
Steve
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden