selectItemWithObjectValue:
オブジェクトでコンボボックスから項目を選択します
-(void)selectItemWithObjectValue:(id)anObject:
解説
オブジェクトでコンボボックスから項目を選択します。
返り値
( void )
なし
引数
( id )anObject
フレームワーク
ApplicationKit
クラス
NSComboBox
Instance Methods
使用可能
10.0
参照
- setObjectValue:(NSControl)
例文
#import "MyObject.h" @implementation MyObject - (IBAction)myAction:(id)sender { [myOutlet selectItemWithObjectValue:@"iti"]; } @end