setAllowsEditingTextAttributes:
テキストフィールドのテキスト属性を変えられるかをセットします
-(void)setAllowsEditingTextAttributes:(BOOL)flag:
解説
テキストフィールドのテキスト属性を変えられるかをセットします。
YESをセットすると、変更することが出来るようになります。
NOをセットすると、変更することが出来なくなります。
返り値
( void )
なし
引数
( BOOL )flag
テキスト属性変更YES/NO
フレームワーク
ApplicationKit
クラス
NSTextField
Instance Methods
使用可能
10.0
参照
- setImportsGraphics:
- allowsEditingTextAttributes
例文
[myOutlet setAllowsEditingTextAttributes: YES];