-selectItemWithTitle:
タイトル名で、項目を選択します
-(void)selectItemWithTitle:(NSString *)title:
- 出版社/メーカー: 桔梗屋
- メディア: その他
- クリック: 1回
- この商品を含むブログ (1件) を見る
解説
タイトル名で、項目を選択します
アルファベットの大文字と小文字は区別します。
返り値
( void )
なし
引数
( NSString * )title
タイトル文字列
フレームワーク
ApplicationKit
クラス
NSPopUpButton
Instance Methods
使用可能
10.0
参照
- indexOfItemWithTitle:
- addItemWithTitle:
- setTitle:
例文
#import "MyObject.h" @implementation MyObject - (IBAction)myAction:(id)sender { //myOutletはポップアップボタン [myOutlet selectItemWithTitle:@"Item3"]; } @end