| Home 目次>ApplicationKit>NSForm | |
indexOfCellWithTag:
指定したタグのフォームのインデックスを返します
-(int) indexOfCellWithTag:(int)tag
【返り値】 | |
| int | 整数値 |
| 【パラメータ】 | |
| tag | タグ |
【解説】
指定したタグ(tag)のフォームのインデックスを返します。
【例文】
#import "MyObject.h"
@implementation MyObject
- (IBAction)myAction:(id)sender
{
NSLog([NSString stringWithFormat:@"%d",[form1 indexOfCellWithTag:20]]);
}
@end
![]() | |
この記事を評価してください。
| Home 目次>ApplicationKit>NSForm | 修正日2006.12.26 |