开发者

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

开发者 https://www.devze.com 2023-02-12 03:59 出处:网络
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

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

精彩评论

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