firstResponder problems
firstResponder problems
- Subject: firstResponder problems
- From: Lieven Dekeyser <email@hidden>
- Date: Sat, 15 Jun 2002 14:52:34 +0200 (CEST)
Hi!
In my app (
http://studwww.rug.ac.be/~lbdkeyse/softs/youChat), I have an
input field (NSTextField)... if the user presses enter in it, the contents
are sent (instant message) and inserted in the output view (NSTextView).
Problem is: I want the focus to return immediately to the input field, so
the user doesn't have to click the input field too often.
This worked perfectly when the input field is in the window's content view
using [[controller window] makeFirstResponder:inputField], but now I've
put the input field in a tab view item, it doesn't work anymore.
I've then tried to make the tabView the first responder, with the input
field as the initialFirstResponder of the tabView, but it still doesn't
work..
Any idea what I'm doing wrong?
--Lieven
---
The frustration Windows users often experience is reflected in a
clickable link I found in Windows XP's online help: "I still can't scan."
_______________________________________________
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.