selectText:
テキストフィールドの選択可能な全てのテキストを選択します
-(void)selectText:(id)sender:
解説
テキストフィールドの選択可能な全てのテキストを選択します。
レシーバーがウインドウのビュー階層の中になければ、効果はありません。
返り値
( void )
なし
引数
( id )sender
選択するオブジェクト
フレームワーク
ApplicationKit
クラス
NSTextField
Instance Methods
使用可能
10.0
参照
- isSelectable
例文
[myOutlet selectText : sender]; /////// [textField selectText:nil];