| Home 目次>ApplicationKit>NSControl | |
selectedTag
コントロールの選択されたセルのタグを返します
-(int) selectedTag
【返り値】 | |
| int | 整数値 |
【解説】
コントロールの選択されたセルのタグを返します。
【例文】
#import "scriptSend.h"
@implementation scriptSend
- (IBAction)myAction:(id)sender
{
NSLog([NSString stringWithFormat:@"%d",[myOutlet selectedTag]]);
}
@end
![]() | |
この記事を評価してください。
| Home 目次>ApplicationKit>NSControl | 修正日2006.12.26 |