| Home 目次>ApplicationKit>NSComboBoxCell | |
itemHeight
項目の高さを返します
-(float) itemHeight
【返り値】 | |
| float | 高さ(pixel) |
【解説】
項目の高さを返します。
初期設定は、17.0です。
【例文】
#import "MyObject.h"
@implementation MyObject
- ( IBAction )myAction:( id )sender
{
NSLog([NSString stringWithFormat: @"%.1f" ,[comboCell1 itemHeight]]);
}
@end
![]() | |
この記事を評価してください。
| Home 目次>ApplicationKit>NSComboBoxCell | 修正日2006.12.26 |