Custom TextField/fieldEditor
Custom TextField/fieldEditor
- Subject: Custom TextField/fieldEditor
- From: "Mark's Studio" <email@hidden>
- Date: Sun, 28 Apr 2002 22:30:01 +0200
Im trying to make a custom textField
1. when the field is selected by the mouse it should select all the text
like it does when tabbing to it so i did this
- (void)mouseDown:(NSEvent *)theEvent;
{
[self selectAll:self];
[super mouseDown:theEvent];
}
and it works but i get this
[PMTextField selectAll:]: selector not recognized.
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?
Thanks
Peter Mark
Mark's Recording Studio A/S
Faelledvej 19 b DK2200 N
Copenhagen Denmark
Tel: +45 35366078 Fax: +45 35366038
www.marks-studio.dk
email@hidden
_______________________________________________
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.