Re: Custom TextField/fieldEditor
Re: Custom TextField/fieldEditor
- Subject: Re: Custom TextField/fieldEditor
- From: Cryx <email@hidden>
- Date: Sun, 28 Apr 2002 15:51:23 -0500
On Sunday, April 28, 2002, at 03:30 PM, Mark's Studio wrote:
Im trying to make a custom textField
1. when the field is selected by the mouse it should select all the
text
Implement becomeFirstResponder instead. Your need is specifically
documentated as a use of this selector.
2. i want to use the up/down arrow keys to step the value
but how do i get the event, keyDown is never called?
Is it the fieldEditor that controls it all selection, keyDown, etc ?
if so how do i setup a fieldEditor with my own behavior?
Implement moveUp: and moveDown:. Avoiding processing raw keystrokes
unless you doing something like defining macro keys. NSResponder
converts a number of common keys into selectors, check out the
documentation for NSResponder for the full list.
_______________________________________________
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.