selectTabViewItemAtIndex:
番号で指定したタブを選択します
-(void)selectTabViewItemAtIndex:(int)index:
解説
番号で指定したタブを選択します。
番号は0から始まる整数です。
返り値
( void )
なし
引数
( int )index
番号
フレームワーク
ApplicationKit
クラス
NSTabView
Instance Methods
使用可能
10.0
参照
- insertTabViewItem:atIndex:
- selectedTabViewItem
例文
#import "MyObject.h" @implementation MyObject - (IBAction)myAction:(id)sender { //myOutletはTabView [myOutlet selectTabViewItemAtIndex:1]; } @end