开发者

change (highlight? selected? focus?) on a NSTextField cocoa mac

Since i really dont know what its called in cocoa it's kind of hard to google.

The thing i want to do is when a view receives a notification lets say ne开发者_StackOverflow社区xtInputField: i want a special NSTextField to be selected as the one active, and the user should be able to type instantly.

How is this done? What method should i call?


Check out NSWindow makeFirstResponder:

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜