The correct way to notify a user that he can't enter text in a text box is to disabled it.
Bob if (*ra4 != 0xffc78948) { return false; } On 6 Oct 2011, at 16:33, Nick wrote: > Hello > I am wondering if there's a way to do this, notifying the user that he can't > enter any more text into NSTextField edit box? > Is there a way to change the color of the NSTextField's focus ring to red > (to highlight that this is an error)? > How difficult would that be to implement? > Thank you! > _______________________________________________ > > Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) > > 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: > http://lists.apple.com/mailman/options/cocoa-dev/tom.davie%40gmail.com > > This email sent to tom.da...@gmail.com _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com