Type | Description | |||
Boolean | A boolean expression that indicates whether the item is visible or hidden. |
The following VB sample hides the item with the identifier 10:
With ExMenu1.Item(10) .Visible = False End With ExMenu1.Refresh
The following C++ sample hides the item with the identifier 10:
CItem item = m_menu.GetItem( COleVariant( long( 10 ) ) ); item.SetVisible( FALSE ); m_menu.Refresh();
The following VB.NET sample hides the item with the identifier 10:
With AxExMenu1.item(10) .Visible = False End With AxExMenu1.CtlRefresh()
The following C# sample hides the item with the identifier 10:
EXMENULib.item item = axExMenu1[10]; item.Visible = false; axExMenu1.CtlRefresh();
The following VFP sample hides the item with the identifier 10:
With thisform.ExMenu1.Item(10) .Visible = .f. EndWith thisform.ExMenu1.Object.Refresh