![]() | Type | Description | ||
| Appearance as AppearanceEnum | An Appearance expression that indicates the menu's appearance. | |||
| Long | A long expression that indicates the height of the item, in pixels. |
The following VB sample changes the item's height for current appearance:
With ExMenu1
.ItemHeight(.Appearance) = 18
.Refresh
End With
The following C++ sample changes the item's height for current appearance:
m_menu.SetItemHeight( m_menu.GetAppearance(), 18 ); m_menu.Refresh();
The following VB.NET sample changes the item's height for current appearance:
With AxExMenu1
.set_ItemHeight(.Appearance, 18)
.CtlRefresh()
End With
The following C# sample changes the item's height for current appearance:
axExMenu1.set_ItemHeight(axExMenu1.Appearance, 18); axExMenu1.CtlRefresh();
The following VFP sample changes the item's height for current appearance:
With thisform.ExMenu1 .ItemHeight(.Appearance) = 18 .Object.Refresh() EndWith