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