setTextColor:
テキストフィールドセルの文字色をセットします
-(void)setTextColor:(NSColor *)aColor:
解説
テキストフィールドセルの文字色をセットします。
返り値
( void )
なし
引数
( NSColor * )aColor
描画色
フレームワーク
ApplicationKit
クラス
NSTextFieldCell
Instance Methods
使用可能
10.0
参照
- setBackgroundColor:
- setTextColor:(NSTextField)
-textColor
例文
#import "scriptSend.h" @implementation scriptSend - (IBAction)myAction:(id)sender { //myOutletはtextfieldcell [myOutlet setTextColor: [NSColor redColor]]; } @end