| Home 目次>ApplicationKit>NSComboBox | |
selectItemWithObjectValue:
オブジェクトでコンボボックスから項目を選択します
-(void) selectItemWithObjectValue:(id)anObject
【返り値】 | |
| void | なし |
| 【パラメータ】 | |
| anObject |
【解説】
オブジェクトでコンボボックスから項目を選択します。
【例文】
#import "MyObject.h"
@implementation MyObject
- (IBAction)myAction:(id)sender
{
[myOutlet selectItemWithObjectValue:@"iti"];
}
@end
![]() | |
この記事を評価してください。
| Home 目次>ApplicationKit>NSComboBox | 修正日2006.12.26 |