开发者

delect NSTextField

开发者 https://www.devze.com 2023-04-08 21:08 出处:网络
When I use [myNSTextField setStringV开发者_C百科alue:@\"AAA\"]; to set the text of a NSTextField the texts always have black background and look likes they have been selected.

When I use

[myNSTextField setStringV开发者_C百科alue:@"AAA"];

to set the text of a NSTextField

the texts always have black background and look likes they have been selected. Is it possible to display the text with black text color and white background color?

Welcome any comment


Ask the text field to resignFirstResponder. That will deselect the view.

0

精彩评论

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